IDateLocalizationServices - интерфейс

Provides conversion and formatting of dates according to the Orchard configured time zone, culture and calendar (as opposed to the system configured time zone and culture).

Пространство имён:  Orchard.Localization.Services
Сборка:  EleWise.ELMA.SDK.Web (в EleWise.ELMA.SDK.Web.dll) Версия: 1.0.0.0
Синтаксис
C#
public interface IDateLocalizationServices : IDependency

Тип IDateLocalizationServices предоставляет следующие члены.

Методы
  ИмяОписание
Открытый методConvertFromLocalizedDateString
Converts a localized date string to a UTC date in Gregorian calendar.
Открытый методConvertFromLocalizedString(String, DateLocalizationOptions)
Converts a localized date/time string to a UTC date in Gregorian calendar.
Открытый методConvertFromLocalizedString(String, String, DateLocalizationOptions)
Converts separate localized date and time strings to a single UTC date in Gregorian calendar.
Открытый методConvertFromLocalizedTimeString
Converts a localized time string to a UTC date in Gregorian calendar.
Открытый методConvertFromSiteCalendar
Converts a date from the Orchard configured calendar to Gregorian calendar.
Открытый методConvertFromSiteTimeZone
Converts a date from the Orchard configured time zone to UTC.
Открытый методConvertToLocalizedDateString(DateTime, DateLocalizationOptions)
Converts a non-nullable UTC date in Gregorian calendar to a localized short date string.
Открытый методConvertToLocalizedDateString(NullableDateTime, DateLocalizationOptions)
Converts a nullable UTC date in Gregorian calendar to a localized short date string.
Открытый методConvertToLocalizedString(DateTime, DateLocalizationOptions)
Converts a non-nullable UTC date in Gregorian calendar to a localized short date/time string.
Открытый методConvertToLocalizedString(NullableDateTime, DateLocalizationOptions)
Converts a nullable UTC date in Gregorian calendar to a localized short date/time string.
Открытый методConvertToLocalizedString(DateTime, String, DateLocalizationOptions)
Converts a non-nullable UTC date in Gregorian calendar to a localized string with the specified format.
Открытый методConvertToLocalizedString(NullableDateTime, String, DateLocalizationOptions)
Converts a nullable UTC date in Gregorian calendar to a localized string with the specified format.
Открытый методConvertToLocalizedTimeString(DateTime, DateLocalizationOptions)
Converts a non-nullable UTC date in Gregorian calendar to a localized long time string.
Открытый методConvertToLocalizedTimeString(NullableDateTime, DateLocalizationOptions)
Converts a nullable UTC date in Gregorian calendar to a localized long time string.
Открытый методConvertToSiteCalendar
Converts a date from Gregorian calendar to the Orchard configured calendar.
Открытый методConvertToSiteTimeZone
Converts a date from UTC to the Orchard configured time zone.
В начало страницы
См. также