IDateLocalizationServicesConvertToSiteCalendar - метод |
Converts a date from Gregorian calendar to the Orchard configured calendar.
Пространство имён:
Orchard.Localization.Services
Сборка:
EleWise.ELMA.SDK.Web (в EleWise.ELMA.SDK.Web.dll) Версия: 1.0.0.0
СинтаксисDateTimeParts ConvertToSiteCalendar(
DateTime date,
TimeSpan offset
)
Параметры
- date
- Тип: DateTime
The Gregorian calendar date to convert. - offset
- Тип: TimeSpan
A TimeSpan representing the offset from UTC of the supplied date parameter.
Возвращаемое значение
Тип:
DateTimePartsA
DateTimeParts instance representing the converted date.
См. также