static JapaneseCalendar()
 {
     JapaneseCalendar.M_EraHandler = new CCGregorianEraHandler();
     JapaneseCalendar.M_EraHandler.appendEra(1, CCGregorianCalendar.fixed_from_dmy(8, 9, 1868), CCGregorianCalendar.fixed_from_dmy(29, 7, 1912));
     JapaneseCalendar.M_EraHandler.appendEra(2, CCGregorianCalendar.fixed_from_dmy(30, 7, 1912), CCGregorianCalendar.fixed_from_dmy(24, 12, 1926));
     JapaneseCalendar.M_EraHandler.appendEra(3, CCGregorianCalendar.fixed_from_dmy(25, 12, 1926), CCGregorianCalendar.fixed_from_dmy(7, 1, 1989));
     JapaneseCalendar.M_EraHandler.appendEra(4, CCGregorianCalendar.fixed_from_dmy(8, 1, 1989));
 }
Пример #2
0
	/// <summary>
	/// Static constructor, who creates and initializes
	/// <see cref="F:M_EraHandler"/>.
	/// </summary>
	static JapaneseCalendar() {
		M_EraHandler = new CCGregorianEraHandler();
		M_EraHandler.appendEra(1,
			CCGregorianCalendar.fixed_from_dmy(8, 9, 1868),
			CCGregorianCalendar.fixed_from_dmy(29, 7, 1912));
		M_EraHandler.appendEra(2,
			CCGregorianCalendar.fixed_from_dmy(30, 7, 1912),
			CCGregorianCalendar.fixed_from_dmy(24, 12, 1926));
		M_EraHandler.appendEra(3,
			CCGregorianCalendar.fixed_from_dmy(25, 12, 1926),
			CCGregorianCalendar.fixed_from_dmy(7, 1, 1989));
		M_EraHandler.appendEra(4,
			CCGregorianCalendar.fixed_from_dmy(8, 1, 1989));
	}
Пример #3
0
	/// <summary>
	/// Static constructor, who creates and initializes
	/// <see cref="F:M_EraHandler"/>.
	/// </summary>
	static TaiwanCalendar() {
		M_EraHandler = new CCGregorianEraHandler();
		M_EraHandler.appendEra(1,
			CCGregorianCalendar.fixed_from_dmy(1, 1, 1912));
	}
Пример #4
0
 static KoreanCalendar()
 {
     KoreanCalendar.M_EraHandler = new CCGregorianEraHandler();
     KoreanCalendar.M_EraHandler.appendEra(1, CCGregorianCalendar.fixed_from_dmy(1, 1, -2332));
 }
Пример #5
0
 static TaiwanCalendar()
 {
     TaiwanCalendar.M_EraHandler = new CCGregorianEraHandler();
     TaiwanCalendar.M_EraHandler.appendEra(1, CCGregorianCalendar.fixed_from_dmy(1, 1, 1912));
 }
Пример #6
0
	/// <summary>
	/// Static constructor, who creates and initializes
	/// <see cref="F:M_EraHandler"/>.
	/// </summary>
	static ThaiBuddhistCalendar() {
		M_EraHandler = new CCGregorianEraHandler();
		M_EraHandler.appendEra(ThaiBuddhistEra,
			CCGregorianCalendar.fixed_from_dmy(1, 1, -542));
	}
 static ThaiBuddhistCalendar()
 {
     ThaiBuddhistCalendar.M_EraHandler = new CCGregorianEraHandler();
     ThaiBuddhistCalendar.M_EraHandler.appendEra(1, CCGregorianCalendar.fixed_from_dmy(1, 1, -542));
 }
Пример #8
0
	/// <summary>
	/// Static constructor, who creates and initializes
	/// <see cref="F:M_EraHandler"/>.
	/// </summary>
	static KoreanCalendar() {
		M_EraHandler = new CCGregorianEraHandler();
		M_EraHandler.appendEra(KoreanEra,
			CCGregorianCalendar.fixed_from_dmy(1, 1, -2332));
	}