appendEra() public method

public appendEra ( int nr, int rd_start ) : void
nr int
rd_start int
return void
コード例 #1
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));
	}
コード例 #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));
 }
コード例 #3
0
	static KoreanLunisolarCalendar ()
	{
		era_handler = new CCEastAsianLunisolarEraHandler ();
		era_handler.appendEra (GregorianEra, CCFixed.FromDateTime (new DateTime (1, 1, 1)));
	}
コード例 #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)));
 }
コード例 #6
0
	static ChineseLunisolarCalendar ()
	{
		era_handler = new CCEastAsianLunisolarEraHandler ();
		era_handler.appendEra (ChineseEra, CCFixed.FromDateTime (new DateTime (1, 1, 1)));
	}
コード例 #7
0
 static KoreanLunisolarCalendar()
 {
     era_handler = new CCEastAsianLunisolarEraHandler();
     era_handler.appendEra(GregorianEra, CCFixed.FromDateTime(new DateTime(1, 1, 1)));
 }
コード例 #8
0
	static TaiwanLunisolarCalendar ()
	{
		era_handler = new CCEastAsianLunisolarEraHandler ();
		era_handler.appendEra(TaiwanEra, CCFixed.FromDateTime (TaiwanMin), CCFixed.FromDateTime (TaiwanMax));
	}