IDateLocalizationServicesConvertFromLocalizedTimeString - метод

Converts a localized time string to a UTC date in Gregorian calendar.

Пространство имён:  Orchard.Localization.Services
Сборка:  EleWise.ELMA.SDK.Web (в EleWise.ELMA.SDK.Web.dll) Версия: 1.0.0.0
Синтаксис
C#
Nullable<DateTime> ConvertFromLocalizedTimeString(
	string timeString,
	DateLocalizationOptions options = null
)

Параметры

timeString
Тип: String
The localized time string to convert.
options (Optional)
Тип: Orchard.Localization.ModelsDateLocalizationOptions
An optional DateLocalizationOptions instance used to control various aspects of the conversion process.

Возвращаемое значение

Тип: NullableDateTime
A DateTime instance where the date component equals that of DateTime.MinValue.
Заметки
If the timeString parameter is null or equal to DateLocalizationOptions.NullText property, this method returns null.
См. также