C# Class System.Globalization.CCEastAsianLunisolarCalendar

Mostra file Open project: runefs/Marvin

Public Methods

Method Description
AddMonths ( DateTime date, int months ) : DateTime
AddYears ( DateTime date, int years ) : DateTime
GetDayOfMonth ( DateTime date ) : int
GetDayOfYear ( DateTime date ) : int
GetDaysInMonth ( int gyear, int month ) : int
GetDaysInYear ( int year ) : int
GetMonth ( DateTime date ) : int
IsLeapMonth ( int gyear, int month ) : bool
IsLeapYear ( int gyear ) : bool
ToDateTime ( int year, int month, int day, int hour, int minute, int second, int millisecond ) : DateTime
dmy_from_fixed ( int &day, int &month, int &year, int date ) : void
fixed_from_dmy ( int day, int month, int year ) : int
my_from_fixed ( int &month, int &year, int date ) : void
year_from_fixed ( int date ) : int

Method Details

AddMonths() public static method

public static AddMonths ( DateTime date, int months ) : DateTime
date DateTime
months int
return DateTime

AddYears() public static method

public static AddYears ( DateTime date, int years ) : DateTime
date DateTime
years int
return DateTime

GetDayOfMonth() public static method

public static GetDayOfMonth ( DateTime date ) : int
date DateTime
return int

GetDayOfYear() public static method

public static GetDayOfYear ( DateTime date ) : int
date DateTime
return int

GetDaysInMonth() public static method

public static GetDaysInMonth ( int gyear, int month ) : int
gyear int
month int
return int

GetDaysInYear() public static method

public static GetDaysInYear ( int year ) : int
year int
return int

GetMonth() public static method

public static GetMonth ( DateTime date ) : int
date DateTime
return int

IsLeapMonth() public static method

public static IsLeapMonth ( int gyear, int month ) : bool
gyear int
month int
return bool

IsLeapYear() public static method

public static IsLeapYear ( int gyear ) : bool
gyear int
return bool

ToDateTime() public static method

public static ToDateTime ( int year, int month, int day, int hour, int minute, int second, int millisecond ) : DateTime
year int
month int
day int
hour int
minute int
second int
millisecond int
return DateTime

dmy_from_fixed() public static method

public static dmy_from_fixed ( int &day, int &month, int &year, int date ) : void
day int
month int
year int
date int
return void

fixed_from_dmy() public static method

public static fixed_from_dmy ( int day, int month, int year ) : int
day int
month int
year int
return int

my_from_fixed() public static method

public static my_from_fixed ( int &month, int &year, int date ) : void
month int
year int
date int
return void

year_from_fixed() public static method

public static year_from_fixed ( int date ) : int
date int
return int