DateFormatDefinition Struct
Assembly: PTS.Globalization.dll
public struct DateFormatDefinition
Constructors
Declaration
public DateFormatDefinition(CountryCode country, DateTimeFormatInfo info)
Parameters
Type |
Name |
Description |
CountryCode |
country |
|
System.Globalization.DateTimeFormatInfo |
info |
|
Fields
Declaration
public CountryCode Country
Field Value
Declaration
Field Value
Declaration
Field Value
Type |
Description |
System.Boolean |
|
Methods
Declaration
public string FormatDate(DateTime date)
Parameters
Type |
Name |
Description |
System.DateTime |
date |
|
Returns
Type |
Description |
System.String |
|
Declaration
public string FormatDateTime(DateTime date)
Parameters
Type |
Name |
Description |
System.DateTime |
date |
|
Returns
Type |
Description |
System.String |
|
Declaration
public string FormatTime(DateTime date)
Parameters
Type |
Name |
Description |
System.DateTime |
date |
|
Returns
Type |
Description |
System.String |
|
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Extension Methods