appendEra() public method

public appendEra ( int nr, int rd_start ) : void
nr int
rd_start int
return void
	static JapaneseLunisolarCalendar ()
	{
		era_handler = new CCEastAsianLunisolarEraHandler ();
		// I keep using Gregorian here, just to make them consistent 
		// with JapaneseCalendar.
		era_handler.appendEra(3,
			CCGregorianCalendar.fixed_from_dmy(25, 12, 1926),
			CCGregorianCalendar.fixed_from_dmy(7, 1, 1989));
		era_handler.appendEra(4,
			CCGregorianCalendar.fixed_from_dmy(8, 1, 1989));
	}
Esempio n. 2
0
 static JapaneseLunisolarCalendar()
 {
     era_handler = new CCEastAsianLunisolarEraHandler();
     // I keep using Gregorian here, just to make them consistent
     // with JapaneseCalendar.
     era_handler.appendEra(3,
                           CCGregorianCalendar.fixed_from_dmy(25, 12, 1926),
                           CCGregorianCalendar.fixed_from_dmy(7, 1, 1989));
     era_handler.appendEra(4,
                           CCGregorianCalendar.fixed_from_dmy(8, 1, 1989));
 }
	static KoreanLunisolarCalendar ()
	{
		era_handler = new CCEastAsianLunisolarEraHandler ();
		era_handler.appendEra (GregorianEra, CCFixed.FromDateTime (new DateTime (1, 1, 1)));
	}
Esempio n. 4
0
 static TaiwanLunisolarCalendar()
 {
     era_handler = new CCEastAsianLunisolarEraHandler();
     era_handler.appendEra(TaiwanEra, CCFixed.FromDateTime(TaiwanMin), CCFixed.FromDateTime(TaiwanMax));
 }
 static ChineseLunisolarCalendar()
 {
     era_handler = new CCEastAsianLunisolarEraHandler();
     era_handler.appendEra(ChineseEra, CCFixed.FromDateTime(new DateTime(1, 1, 1)));
 }
	static ChineseLunisolarCalendar ()
	{
		era_handler = new CCEastAsianLunisolarEraHandler ();
		era_handler.appendEra (ChineseEra, CCFixed.FromDateTime (new DateTime (1, 1, 1)));
	}
 static KoreanLunisolarCalendar()
 {
     era_handler = new CCEastAsianLunisolarEraHandler();
     era_handler.appendEra(GregorianEra, CCFixed.FromDateTime(new DateTime(1, 1, 1)));
 }
Esempio n. 8
0
	static TaiwanLunisolarCalendar ()
	{
		era_handler = new CCEastAsianLunisolarEraHandler ();
		era_handler.appendEra(TaiwanEra, CCFixed.FromDateTime (TaiwanMin), CCFixed.FromDateTime (TaiwanMax));
	}