Constructor NumberDateFormat
NumberDateFormat(String, CultureInfo)
Constructs a NumberDateFormat object using the given dateFormat
and locale
.
Declaration
public NumberDateFormat(string dateFormat, CultureInfo locale)
Parameters
Type | Name | Description |
---|---|---|
System.String | dateFormat | Date format used to parse and format dates |
System.Globalization.CultureInfo | locale |
NumberDateFormat(DateFormat, DateFormat, CultureInfo)
Constructs a NumberDateFormat object using the given dateStyle
,
timeStyle
, and locale
.
Declaration
public NumberDateFormat(DateFormat dateStyle, DateFormat timeStyle, CultureInfo locale)
Parameters
Type | Name | Description |
---|---|---|
DateFormat | dateStyle | |
DateFormat | timeStyle | |
System.Globalization.CultureInfo | locale |