Property | Type | Description | |
---|---|---|---|
BaseDateTimeExtensions | System | ||
SetDefaultCalendarConfigurations | void | ||
SetDefaultDays | void | ||
SetDefaultTimezoneInfo | void | ||
SetTimezoneInfoDictionary | void | ||
TryConvertTimezoneName |
Method | Description | |
---|---|---|
GetCurrentCulture ( ) : |
Get current system culture
|
|
GetCurrentDateTime ( ) : System.DateTime |
Get current datetime
|
|
GetDefaultBusinessDays ( ) : DayOfWeek[] |
Get default business days list
|
|
GetDefaultCalendarRule ( ) : CalendarWeekRule |
Get default value for Calendar Rule
|
|
GetDefaultFirstWeekBusinessDay ( ) : DayOfWeek |
Get default first week business day
|
|
GetDefaultFirstWeekDay ( ) : DayOfWeek |
Get default first week day
|
|
GetDefaultLastWeekBusinessDay ( ) : DayOfWeek |
Get default last week business day
|
|
GetDefaultLastWeekDay ( ) : DayOfWeek |
Get default last week day
|
|
GetDefaultTimezoneInfo ( ) : |
Get default system timezone info
|
|
GetDefaultToDateDateTimeStyles ( ) : DateTimeStyles |
Get default datetime styles to TryParseDate methods
|
|
GetTimezoneInfo ( string name ) : |
Get TimezoneInfo
|
|
GetTimezoneInfoDictionary ( ) : string>.Dictionary |
Get TimezoneInfo dictionary
|
|
GetUtcTimezoneInfo ( ) : |
Get default system timezone info
|
|
SetDefaultBusinessDays ( DayOfWeek businessDays ) : void |
Set default business days list
|
|
SetDefaultCalendarRule ( CalendarWeekRule calendarRule ) : void |
Set default calendar rule
|
|
SetDefaultFirstDay ( DayOfWeek firstWeekDay, DayOfWeek firstBusinessWeekDay ) : void |
Set default first week day and week business day
|
|
SetDefaultLastDay ( DayOfWeek lastWeekDay, DayOfWeek lastBusinessWeekDay ) : void |
Set default last week day and week business day
|
|
SetDefaultTimezoneInfo ( |
Set default system timezone info
|
|
SetDefaultTimezoneInfo ( string timeZoneName ) : void |
Set default system timezone info
|
Method | Description | |
---|---|---|
BaseDateTimeExtensions ( ) : System | ||
SetDefaultCalendarConfigurations ( ) : void |
Set default Calendar configurations
|
|
SetDefaultDays ( ) : void |
Set default business days
|
|
SetDefaultTimezoneInfo ( ) : void |
Set default TimezoneInfo
|
|
SetTimezoneInfoDictionary ( ) : void |
Populate TimezoneInfoDictionary With available options
|
|
TryConvertTimezoneName ( string name ) : |
Try get TimezoneInfo from timezone name
|
public static GetCurrentCulture ( ) : |
||
return |
public static GetCurrentDateTime ( ) : System.DateTime | ||
return | System.DateTime |
public static GetDefaultBusinessDays ( ) : DayOfWeek[] | ||
return | DayOfWeek[] |
public static GetDefaultCalendarRule ( ) : CalendarWeekRule | ||
return | CalendarWeekRule |
public static GetDefaultFirstWeekBusinessDay ( ) : DayOfWeek | ||
return | DayOfWeek |
public static GetDefaultFirstWeekDay ( ) : DayOfWeek | ||
return | DayOfWeek |
public static GetDefaultLastWeekBusinessDay ( ) : DayOfWeek | ||
return | DayOfWeek |
public static GetDefaultLastWeekDay ( ) : DayOfWeek | ||
return | DayOfWeek |
public static GetDefaultTimezoneInfo ( ) : |
||
return |
public static GetDefaultToDateDateTimeStyles ( ) : DateTimeStyles | ||
return | DateTimeStyles |
public static GetTimezoneInfo ( string name ) : |
||
name | string | Timezone name to serarch |
return |
public static GetTimezoneInfoDictionary ( ) : string>.Dictionary |
||
return | string>.Dictionary |
public static GetUtcTimezoneInfo ( ) : |
||
return |
public static SetDefaultBusinessDays ( DayOfWeek businessDays ) : void | ||
businessDays | DayOfWeek | |
return | void |
public static SetDefaultCalendarRule ( CalendarWeekRule calendarRule ) : void | ||
calendarRule | CalendarWeekRule | Default calendar rule |
return | void |
public static SetDefaultFirstDay ( DayOfWeek firstWeekDay, DayOfWeek firstBusinessWeekDay ) : void | ||
firstWeekDay | DayOfWeek | first week day |
firstBusinessWeekDay | DayOfWeek | first week business day |
return | void |
public static SetDefaultLastDay ( DayOfWeek lastWeekDay, DayOfWeek lastBusinessWeekDay ) : void | ||
lastWeekDay | DayOfWeek | last week day |
lastBusinessWeekDay | DayOfWeek | last week business day |
return | void |
public static SetDefaultTimezoneInfo ( |
||
timeZoneInfo | Timezoneinfo to set as default | |
return | void |
public static SetDefaultTimezoneInfo ( string timeZoneName ) : void | ||
timeZoneName | string | Timezonename to set as default |
return | void |