C# Class System.Runtime.Serialization.DateTimeFormat

显示文件 Open project: dotnet/corefx

Public Methods

Method Description
DateTimeFormat ( string formatString )
DateTimeFormat ( string formatString, System formatProvider )
DateTimeFormat ( string formatString ) : System.Globalization

Initializes a new DateTimeFormat with the specified formatString and DateTimeFormatInfo.CurrentInfo as the formatProvider.

DateTimeFormat ( string formatString, IFormatProvider formatProvider ) : System.Globalization

Initializes a new DateTimeFormat with the specified formatString and formatProvider.

Method Details

DateTimeFormat() public method

public DateTimeFormat ( string formatString )
formatString string

DateTimeFormat() public method

public DateTimeFormat ( string formatString, System formatProvider )
formatString string
formatProvider System

DateTimeFormat() public method

Initializes a new DateTimeFormat with the specified formatString and DateTimeFormatInfo.CurrentInfo as the formatProvider.
public DateTimeFormat ( string formatString ) : System.Globalization
formatString string Specifies the formatString to be used.
return System.Globalization

DateTimeFormat() public method

Initializes a new DateTimeFormat with the specified formatString and formatProvider.
public DateTimeFormat ( string formatString, IFormatProvider formatProvider ) : System.Globalization
formatString string Specifies the formatString to be used.
formatProvider IFormatProvider Specifies the formatProvider to be used.
return System.Globalization