C# Class System.Globalization.HebrewCalendar

Inheritance: Calendar
Exibir arquivo Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Properties

Property Type Description
HebrewEra int

Private Properties

Property Type Description
CheckEraRange void
CheckHebrewDayValue void
CheckHebrewMonthValue void
CheckHebrewYearValue void
CheckTicksRange void
GetDatePart int
GetDayDifference int
GetHebrewYearType int
GetLunarMonthDay int
GetResult int
HebrewToGregorian System.DateTime

Public Methods

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
GetYear ( System.DateTime time ) : int
HebrewCalendar ( ) : System
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

Private Methods

Method Description
CheckEraRange ( int era ) : void
CheckHebrewDayValue ( int year, int month, int day, int era ) : void
CheckHebrewMonthValue ( int year, int month, int era ) : void
CheckHebrewYearValue ( int y, int era, String varName ) : void
CheckTicksRange ( long ticks ) : void
GetDatePart ( long ticks, int part ) : int
GetDayDifference ( int lunarYearType, int month1, int day1, int month2, int day2 ) : int
GetHebrewYearType ( int year, int era ) : int
GetLunarMonthDay ( int gregorianYear, __DateBuffer lunarDate ) : int
GetResult ( __DateBuffer result, int part ) : int
HebrewToGregorian ( int hebrewYear, int hebrewMonth, int hebrewDay, int hour, int minute, int second, int millisecond ) : System.DateTime

Method Details

AddMonths() public method

public AddMonths ( System.DateTime time, int months ) : System.DateTime
time System.DateTime
months int
return System.DateTime

AddYears() public method

public AddYears ( System.DateTime time, int years ) : System.DateTime
time System.DateTime
years int
return System.DateTime

GetDayOfMonth() public method

public GetDayOfMonth ( System.DateTime time ) : int
time System.DateTime
return int

GetDayOfWeek() public method

public GetDayOfWeek ( System.DateTime time ) : DayOfWeek
time System.DateTime
return DayOfWeek

GetDayOfYear() public method

public GetDayOfYear ( System.DateTime time ) : int
time System.DateTime
return int

GetDaysInMonth() public method

public GetDaysInMonth ( int year, int month, int era ) : int
year int
month int
era int
return int

GetDaysInYear() public method

public GetDaysInYear ( int year, int era ) : int
year int
era int
return int

GetEra() public method

public GetEra ( System.DateTime time ) : int
time System.DateTime
return int

GetLeapMonth() public method

public GetLeapMonth ( int year, int era ) : int
year int
era int
return int

GetMonth() public method

public GetMonth ( System.DateTime time ) : int
time System.DateTime
return int

GetMonthsInYear() public method

public GetMonthsInYear ( int year, int era ) : int
year int
era int
return int

GetYear() public method

public GetYear ( System.DateTime time ) : int
time System.DateTime
return int

HebrewCalendar() public method

public HebrewCalendar ( ) : System
return System

IsLeapDay() public method

public IsLeapDay ( int year, int month, int day, int era ) : bool
year int
month int
day int
era int
return bool

IsLeapMonth() public method

public IsLeapMonth ( int year, int month, int era ) : bool
year int
month int
era int
return bool

IsLeapYear() public method

public IsLeapYear ( int year, int era ) : bool
year int
era int
return bool

ToDateTime() public method

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

ToFourDigitYear() public method

public ToFourDigitYear ( int year ) : int
year int
return int

Property Details

HebrewEra public_oe static_oe property

public static int HebrewEra
return int