IDateTimeFormatProvider - интерфейс

Provides a set of properties which control the formatting of dates and times in Orchard.

Пространство имён:  Orchard.Localization.Services
Сборка:  EleWise.ELMA.SDK.Web (в EleWise.ELMA.SDK.Web.dll) Версия: 1.0.0.0
Синтаксис
C#
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.
В начало страницы
См. также