IDateTimeFormatProvider - интерфейс |
Пространство имён: Orchard.Localization.Services
public interface IDateTimeFormatProvider : IDependency
Тип IDateTimeFormatProvider предоставляет следующие члены.
| Имя | Описание | |
|---|---|---|
| AllDateFormats |
Gets the full list of custom DateTime format strings supported to format dates for date display.
| |
| AllDateTimeFormats |
Gets the full list of custom DateTime format strings supported to format dates for date and time display.
| |
| AllTimeFormats |
Gets the full list of custom DateTime format strings supported to format dates for time display.
| |
| AmPmDesignators |
Gets a list of strings used as display text for the AM and PM designators.
| |
| AmPmPrefix |
Gets the string that separates the time from the AM and PM designators.
| |
| DateSeparator |
Gets the string that separates the components of date, that is, the year, month and day.
| |
| DayNames |
Gets a list of weekday names.
| |
| DayNamesMin |
Gets a list of maximally abbreviated weekday names.
| |
| DayNamesShort |
Gets a list of abbreviated weekday names.
| |
| FirstDay |
Gets an integer representing the first day of the week, where 0 is Sunday, 1 is Monday etc.
| |
| LongDateFormat |
Gets a custom DateTime format string used to format dates for long date display.
| |
| LongDateTimeFormat |
Gets a custom DateTime format string used to format dates for full date and time display.
| |
| LongTimeFormat |
Gets a custom DateTime format string used to format dates for long time display.
| |
| MonthNames |
Gets a list of month names.
| |
| MonthNamesGenitive |
Gets a list of genitive month names (used in contexts when a day is involved).
| |
| MonthNamesShort |
Gets a list of abbreviated month names.
| |
| MonthNamesShortGenitive |
Gets a list of abbreviated genivite month names (used in contexts when a day is involved).
| |
| ShortDateFormat |
Gets a custom DateTime format string used to format dates for short date display.
| |
| ShortDateTimeFormat |
Gets a custom DateTime format string used to format dates for general (short) date and time display.
| |
| ShortTimeFormat |
Gets a custom DateTime format string used to format dates for short time display.
| |
| TimeSeparator |
Gets the string that separates the components of time, that is, the hour, minute, and second.
| |
| Use24HourTime |
Gets a boolean indicating whether 24-hour time is used as opposed to 12-hour time.
|
| Имя | Описание | |
|---|---|---|
| GetEra |
Returns the integer representing the specified era.
| |
| GetEraName |
Returns a string containing the name of the specified era.
| |
| GetShortEraName |
Returns a string containing the abbreviated name of the specified era, if an abbreviation exists.
|