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
Синтаксис
C#
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.

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

Тип: DateTimeParts
A DateTimeParts instance representing the converted date.
См. также