Property | Type | Description | |
---|---|---|---|
CheckTicksRange | void | ||
DateToTicks | long | ||
GetAbsoluteDate | long | ||
GetDatePart | int | ||
GetGregorianYear | int | ||
GregorianCalendarHelper | System.Threading | ||
InitEraInfo | System.Globalization.EraInfo[] | ||
IsValidYear | bool | ||
TimeToTicks | long |
Method | Description | |
---|---|---|
AddMonths ( System.DateTime time, int months ) : System.DateTime | ||
AddYears ( System.DateTime time, int years ) : System.DateTime | ||
GetDayOfMonth ( System.DateTime time ) : int | ||
GetDayOfWeek ( System.DateTime time ) : DayOfWeek | ||
GetDayOfYear ( System.DateTime time ) : int | ||
GetDaysInMonth ( int year, int month, int era ) : int | ||
GetDaysInYear ( int year, int era ) : int | ||
GetEra ( System.DateTime time ) : int | ||
GetLeapMonth ( int year, int era ) : int | ||
GetMonth ( System.DateTime time ) : int | ||
GetMonthsInYear ( int year, int era ) : int | ||
GetWeekOfYear ( System.DateTime time, CalendarWeekRule rule, DayOfWeek firstDayOfWeek ) : int | ||
GetYear ( System.DateTime time ) : int | ||
GetYear ( int year, System.DateTime time ) : int | ||
IsLeapDay ( int year, int month, int day, int era ) : bool | ||
IsLeapMonth ( int year, int month, int era ) : bool | ||
IsLeapYear ( int year, int era ) : bool | ||
ToDateTime ( int year, int month, int day, int hour, int minute, int second, int millisecond, int era ) : System.DateTime | ||
ToFourDigitYear ( int year, int twoDigitYearMax ) : int |
Method | Description | |
---|---|---|
CheckTicksRange ( long ticks ) : void | ||
DateToTicks ( int year, int month, int day ) : long | ||
GetAbsoluteDate ( int year, int month, int day ) : long | ||
GetDatePart ( long ticks, int part ) : int | ||
GetGregorianYear ( int year, int era ) : int | ||
GregorianCalendarHelper ( |
||
InitEraInfo ( int calID ) : System.Globalization.EraInfo[] | ||
IsValidYear ( int year, int era ) : bool | ||
TimeToTicks ( int hour, int minute, int second, int millisecond ) : long |
public AddMonths ( System.DateTime time, int months ) : System.DateTime | ||
time | System.DateTime | |
months | int | |
return | System.DateTime |
public AddYears ( System.DateTime time, int years ) : System.DateTime | ||
time | System.DateTime | |
years | int | |
return | System.DateTime |
public GetDayOfMonth ( System.DateTime time ) : int | ||
time | System.DateTime | |
return | int |
public GetDayOfWeek ( System.DateTime time ) : DayOfWeek | ||
time | System.DateTime | |
return | DayOfWeek |
public GetDayOfYear ( System.DateTime time ) : int | ||
time | System.DateTime | |
return | int |
public GetDaysInMonth ( int year, int month, int era ) : int | ||
year | int | |
month | int | |
era | int | |
return | int |
public GetDaysInYear ( int year, int era ) : int | ||
year | int | |
era | int | |
return | int |
public GetLeapMonth ( int year, int era ) : int | ||
year | int | |
era | int | |
return | int |
public GetMonth ( System.DateTime time ) : int | ||
time | System.DateTime | |
return | int |
public GetMonthsInYear ( int year, int era ) : int | ||
year | int | |
era | int | |
return | int |
public GetWeekOfYear ( System.DateTime time, CalendarWeekRule rule, DayOfWeek firstDayOfWeek ) : int | ||
time | System.DateTime | |
rule | CalendarWeekRule | |
firstDayOfWeek | DayOfWeek | |
return | int |
public GetYear ( System.DateTime time ) : int | ||
time | System.DateTime | |
return | int |
public GetYear ( int year, System.DateTime time ) : int | ||
year | int | |
time | System.DateTime | |
return | int |
public IsLeapDay ( int year, int month, int day, int era ) : bool | ||
year | int | |
month | int | |
day | int | |
era | int | |
return | bool |
public IsLeapMonth ( int year, int month, int era ) : bool | ||
year | int | |
month | int | |
era | int | |
return | bool |
public IsLeapYear ( int year, int era ) : bool | ||
year | int | |
era | int | |
return | bool |
public ToDateTime ( int year, int month, int day, int hour, int minute, int second, int millisecond, int era ) : System.DateTime | ||
year | int | |
month | int | |
day | int | |
hour | int | |
minute | int | |
second | int | |
millisecond | int | |
era | int | |
return | System.DateTime |
public ToFourDigitYear ( int year, int twoDigitYearMax ) : int | ||
year | int | |
twoDigitYearMax | int | |
return | int |