[]
        
(Showing Draft Content)

C1.WPF.Calendar.DateTimeUtils

DateTimeUtils Class

DateTimeUtils

Inheritance
DateTimeUtils
Namespace: C1.WPF.Calendar
Assembly: C1.WPF.Calendar.dll
Syntax
public class DateTimeUtils

Constructors

Name Description
DateTimeUtils()

Fields

Name Description
MondayBasedDaysOfWeek

Methods

Name Description
GetCurrentDateTimeFormat()

Gets the current date time format.

GetCurrentDateTimeFormat(FrameworkElement)

Gets the current date time format based on the specified element Language property value.

GetFirstWeekDate(DateTime, DayOfWeek)
GetGregorianCulture(CultureInfo)

If specified Culture's calendar is not Gregorian, searches for localized Gregorian calendar in optional calendars and returns new culture with Gregorian calendar.

GetLanguage(FrameworkElement)

GetLanguage

GetOrderedWeekDays(DayOfWeek)
GetOrderedWeekDays(CultureInfo)
ToWeekDaysEnum(DayOfWeek)

ToWeekDaysEnum