IDateLocalizationServices - интерфейс |
Пространство имён: Orchard.Localization.Services
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.
|