The following tables list the members exposed by DateInfoProvider.
Name | Description | |
---|---|---|
DateInfoProvider Constructor | Overloaded. |
Name | Description | |
---|---|---|
AMDesignator | Returns the designator string for morning hours (read-only) | |
AMDesignatorLowercase | Returns and caches the AMDesignator converted to lowercase (read-only) | |
Calendar | Returns the calendar (read-only) | |
CurrentProvider | Returns the provider for the System.Globalization.CultureInfo.CurrentCulture (read-only) | |
DateSeparator | Returns the separator between year, month and day (read-only) | |
DateTimeFormatInfo | Returns the object that contains the format info for dates and times (read-only) | |
DisplayTimeIn24HourFormat | Returns true if time should be displayed in 24 hour format or false to dispay in 12 hour format with AM and PM designators | |
HourPattern | Returns the pattern to use to display just hours | |
MaxSupportedDateTime | Returns the latest date time that is supported (read-only) | |
MinSupportedDateTime | Returns the earliest date time that is supported (read-only) | |
PMDesignator | Returns the designator string for afternoon hours (read-only) | |
PMDesignatorLowercase | Returns and caches the PMDesignator converted to lowercase (read-only) | |
TimeSeparator | Returns the separator between hours, minutes and seconds (read-only) |
Name | Description | |
---|---|---|
ClearCachedValues | Clears any values that have been cached so they can be re-created when needed | |
FormatDate | Returns a formatted string for the supplied date. | |
FormatDateRange | Overloaded. Returns a formatted string for a range of date times. | |
FormatDayOfWeek | Returns a formatted string for the specified day of the week. |