IDateLocalizationServicesConvertFromLocalizedDateString - метод |
Converts a localized date string to a UTC date in Gregorian calendar.
Пространство имён:
Orchard.Localization.Services
Сборка:
EleWise.ELMA.SDK.Web (в EleWise.ELMA.SDK.Web.dll) Версия: 1.0.0.0
СинтаксисNullable<DateTime> ConvertFromLocalizedDateString(
string dateString,
DateLocalizationOptions options = null
)
Параметры
- dateString
- Тип: String
The localized date string to convert. - options (Optional)
- Тип: Orchard.Localization.ModelsDateLocalizationOptions
An optional DateLocalizationOptions instance used to control various aspects of the conversion process.
Возвращаемое значение
Тип:
NullableDateTimeA
DateTime instance where the time component equals that of DateTime.MinValue.
Заметки
If the dateString parameter is null or equal to DateLocalizationOptions.NullText property, this method returns null.
См. также