Home
last modified time | relevance | path

Searched refs:JapaneseCalendar (Results 1 – 25 of 46) sorted by relevance

12

/third_party/node/deps/icu-small/source/i18n/
Djapancal.cpp59 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(JapaneseCalendar)
66 UBool JapaneseCalendar::enableTentativeEra() { in enableTentativeEra()
97 …gJapaneseEraRules = EraRules::createInstance("japanese", JapaneseCalendar::enableTentativeEra(), s… in initializeEras()
110 uint32_t JapaneseCalendar::getCurrentEra() { in getCurrentEra()
114 JapaneseCalendar::JapaneseCalendar(const Locale& aLocale, UErrorCode& success) in JapaneseCalendar() function in JapaneseCalendar
121 JapaneseCalendar::~JapaneseCalendar() in ~JapaneseCalendar()
125 JapaneseCalendar::JapaneseCalendar(const JapaneseCalendar& source) in JapaneseCalendar() function in JapaneseCalendar
133 JapaneseCalendar& JapaneseCalendar::operator= ( const JapaneseCalendar& right) in operator =()
139 JapaneseCalendar* JapaneseCalendar::clone() const in clone()
141 return new JapaneseCalendar(*this); in clone()
[all …]
Djapancal.h66 class JapaneseCalendar : public GregorianCalendar {
91 JapaneseCalendar(const Locale& aLocale, UErrorCode& success);
98 virtual ~JapaneseCalendar();
105 JapaneseCalendar(const JapaneseCalendar& source);
112 JapaneseCalendar& operator=(const JapaneseCalendar& right);
119 virtual JapaneseCalendar* clone() const override;
187 JapaneseCalendar(); // default constructor not implemented
/third_party/skia/third_party/externals/icu/source/i18n/
Djapancal.cpp59 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(JapaneseCalendar)
66 UBool JapaneseCalendar::enableTentativeEra() { in enableTentativeEra()
97 …gJapaneseEraRules = EraRules::createInstance("japanese", JapaneseCalendar::enableTentativeEra(), s… in initializeEras()
110 uint32_t JapaneseCalendar::getCurrentEra() { in getCurrentEra()
114 JapaneseCalendar::JapaneseCalendar(const Locale& aLocale, UErrorCode& success) in JapaneseCalendar() function in JapaneseCalendar
121 JapaneseCalendar::~JapaneseCalendar() in ~JapaneseCalendar()
125 JapaneseCalendar::JapaneseCalendar(const JapaneseCalendar& source) in JapaneseCalendar() function in JapaneseCalendar
133 JapaneseCalendar& JapaneseCalendar::operator= ( const JapaneseCalendar& right) in operator =()
139 JapaneseCalendar* JapaneseCalendar::clone() const in clone()
141 return new JapaneseCalendar(*this); in clone()
[all …]
Djapancal.h66 class JapaneseCalendar : public GregorianCalendar {
91 JapaneseCalendar(const Locale& aLocale, UErrorCode& success);
98 virtual ~JapaneseCalendar();
105 JapaneseCalendar(const JapaneseCalendar& source);
112 JapaneseCalendar& operator=(const JapaneseCalendar& right);
119 virtual JapaneseCalendar* clone() const;
187 JapaneseCalendar(); // default constructor not implemented
/third_party/icu/icu4c/source/i18n/
Djapancal.cpp59 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(JapaneseCalendar)
66 UBool JapaneseCalendar::enableTentativeEra() { in enableTentativeEra()
97 …gJapaneseEraRules = EraRules::createInstance("japanese", JapaneseCalendar::enableTentativeEra(), s… in initializeEras()
110 uint32_t JapaneseCalendar::getCurrentEra() { in getCurrentEra()
114 JapaneseCalendar::JapaneseCalendar(const Locale& aLocale, UErrorCode& success) in JapaneseCalendar() function in JapaneseCalendar
121 JapaneseCalendar::~JapaneseCalendar() in ~JapaneseCalendar()
125 JapaneseCalendar::JapaneseCalendar(const JapaneseCalendar& source) in JapaneseCalendar() function in JapaneseCalendar
133 JapaneseCalendar& JapaneseCalendar::operator= ( const JapaneseCalendar& right) in operator =()
139 JapaneseCalendar* JapaneseCalendar::clone() const in clone()
141 return new JapaneseCalendar(*this); in clone()
[all …]
Djapancal.h66 class JapaneseCalendar : public GregorianCalendar {
91 JapaneseCalendar(const Locale& aLocale, UErrorCode& success);
98 virtual ~JapaneseCalendar();
105 JapaneseCalendar(const JapaneseCalendar& source);
112 JapaneseCalendar& operator=(const JapaneseCalendar& right);
119 virtual JapaneseCalendar* clone() const override;
187 JapaneseCalendar(); // default constructor not implemented
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DJapaneseTest.java25 import com.ibm.icu.util.JapaneseCalendar;
39 JapaneseCalendar cal = new JapaneseCalendar(TimeZone.getDefault()); in TestCoverage()
47 JapaneseCalendar cal = new JapaneseCalendar(ULocale.getDefault()); in TestCoverage()
55JapaneseCalendar cal = new JapaneseCalendar(TimeZone.getDefault(), ULocale.getDefault()); in TestCoverage()
63 JapaneseCalendar cal = new JapaneseCalendar(Locale.getDefault()); in TestCoverage()
71 JapaneseCalendar cal = new JapaneseCalendar(TimeZone.getDefault(), Locale.getDefault()); in TestCoverage()
79 JapaneseCalendar cal = new JapaneseCalendar(new Date()); in TestCoverage()
87 JapaneseCalendar cal = new JapaneseCalendar(1868, Calendar.JANUARY, 1); in TestCoverage()
95JapaneseCalendar cal = new JapaneseCalendar(JapaneseCalendar.MEIJI, 43, Calendar.JANUARY, 1); in TestCoverage()
103 JapaneseCalendar cal = new JapaneseCalendar(1868, Calendar.JANUARY, 1, 1, 1, 1); in TestCoverage()
[all …]
DEraRulesTest.java13 import com.ibm.icu.util.JapaneseCalendar;
69 if (numRules <= JapaneseCalendar.HEISEI) { in testJapanese()
72 int postHeiseiStartYear = rules.getStartYear(JapaneseCalendar.HEISEI + 1); in testJapanese()
DIBMCalendarTest.java34 import com.ibm.icu.util.JapaneseCalendar;
484 JapaneseCalendar.MEIJI, 1, 1868, Calendar.SEPTEMBER, 8, in TestJapanese()
485 JapaneseCalendar.MEIJI, 1, 1868, Calendar.SEPTEMBER, 9, in TestJapanese()
486 JapaneseCalendar.MEIJI, 2, 1869, Calendar.JUNE, 4, in TestJapanese()
487 JapaneseCalendar.MEIJI, 45, 1912, Calendar.JULY, 29, in TestJapanese()
488 JapaneseCalendar.TAISHO, 1, 1912, Calendar.JULY, 30, in TestJapanese()
489 JapaneseCalendar.TAISHO, 1, 1912, Calendar.AUGUST, 1, in TestJapanese()
491 quasiGregorianTest(new JapaneseCalendar(), data); in TestJapanese()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DJapaneseTest.java26 import ohos.global.icu.util.JapaneseCalendar;
42 JapaneseCalendar cal = new JapaneseCalendar(TimeZone.getDefault()); in TestCoverage()
50 JapaneseCalendar cal = new JapaneseCalendar(ULocale.getDefault()); in TestCoverage()
58JapaneseCalendar cal = new JapaneseCalendar(TimeZone.getDefault(), ULocale.getDefault()); in TestCoverage()
66 JapaneseCalendar cal = new JapaneseCalendar(Locale.getDefault()); in TestCoverage()
74 JapaneseCalendar cal = new JapaneseCalendar(TimeZone.getDefault(), Locale.getDefault()); in TestCoverage()
82 JapaneseCalendar cal = new JapaneseCalendar(new Date()); in TestCoverage()
90 JapaneseCalendar cal = new JapaneseCalendar(1868, Calendar.JANUARY, 1); in TestCoverage()
98JapaneseCalendar cal = new JapaneseCalendar(JapaneseCalendar.MEIJI, 43, Calendar.JANUARY, 1); in TestCoverage()
106 JapaneseCalendar cal = new JapaneseCalendar(1868, Calendar.JANUARY, 1, 1, 1, 1); in TestCoverage()
[all …]
DEraRulesTest.java14 import ohos.global.icu.util.JapaneseCalendar;
72 if (numRules <= JapaneseCalendar.HEISEI) { in testJapanese()
75 int postHeiseiStartYear = rules.getStartYear(JapaneseCalendar.HEISEI + 1); in testJapanese()
DIBMCalendarTest.java32 import ohos.global.icu.util.JapaneseCalendar;
484 JapaneseCalendar.MEIJI, 1, 1868, Calendar.SEPTEMBER, 8, in TestJapanese()
485 JapaneseCalendar.MEIJI, 1, 1868, Calendar.SEPTEMBER, 9, in TestJapanese()
486 JapaneseCalendar.MEIJI, 2, 1869, Calendar.JUNE, 4, in TestJapanese()
487 JapaneseCalendar.MEIJI, 45, 1912, Calendar.JULY, 29, in TestJapanese()
488 JapaneseCalendar.TAISHO, 1, 1912, Calendar.JULY, 30, in TestJapanese()
489 JapaneseCalendar.TAISHO, 1, 1912, Calendar.AUGUST, 1, in TestJapanese()
491 quasiGregorianTest(new JapaneseCalendar(), data); in TestJapanese()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DJapaneseCalendar.java68 public class JapaneseCalendar extends GregorianCalendar { class
80 public JapaneseCalendar() { in JapaneseCalendar() method in JapaneseCalendar
89 public JapaneseCalendar(TimeZone zone) { in JapaneseCalendar() method in JapaneseCalendar
98 public JapaneseCalendar(Locale aLocale) { in JapaneseCalendar() method in JapaneseCalendar
107 public JapaneseCalendar(ULocale locale) { in JapaneseCalendar() method in JapaneseCalendar
119 public JapaneseCalendar(TimeZone zone, Locale aLocale) { in JapaneseCalendar() method in JapaneseCalendar
131 public JapaneseCalendar(TimeZone zone, ULocale locale) { in JapaneseCalendar() method in JapaneseCalendar
141 public JapaneseCalendar(Date date) { in JapaneseCalendar() method in JapaneseCalendar
167 public JapaneseCalendar(int era, int year, int month, int date) { in JapaneseCalendar() method in JapaneseCalendar
185 public JapaneseCalendar(int year, int month, int date) { in JapaneseCalendar() method in JapaneseCalendar
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DJapaneseCalendar.java68 public class JapaneseCalendar extends GregorianCalendar { class
81 public JapaneseCalendar() { in JapaneseCalendar() method in JapaneseCalendar
91 public JapaneseCalendar(TimeZone zone) { in JapaneseCalendar() method in JapaneseCalendar
101 public JapaneseCalendar(Locale aLocale) { in JapaneseCalendar() method in JapaneseCalendar
111 public JapaneseCalendar(ULocale locale) { in JapaneseCalendar() method in JapaneseCalendar
124 public JapaneseCalendar(TimeZone zone, Locale aLocale) { in JapaneseCalendar() method in JapaneseCalendar
137 public JapaneseCalendar(TimeZone zone, ULocale locale) { in JapaneseCalendar() method in JapaneseCalendar
148 public JapaneseCalendar(Date date) { in JapaneseCalendar() method in JapaneseCalendar
175 public JapaneseCalendar(int era, int year, int month, int date) { in JapaneseCalendar() method in JapaneseCalendar
194 public JapaneseCalendar(int year, int month, int date) { in JapaneseCalendar() method in JapaneseCalendar
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/serializable/
DCalendarHandler.java26 import ohos.global.icu.util.JapaneseCalendar;
244 JapaneseCalendar calendars[] = new JapaneseCalendar[locales.length]; in getTestObjects()
247 calendars[i] = new JapaneseCalendar(jst, locales[i]); in getTestObjects()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DCalendarHandler.java25 import com.ibm.icu.util.JapaneseCalendar;
243 JapaneseCalendar calendars[] = new JapaneseCalendar[locales.length]; in getTestObjects()
246 calendars[i] = new JapaneseCalendar(jst, locales[i]); in getTestObjects()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DGlobalizationPreferencesTest.java34 import ohos.global.icu.util.JapaneseCalendar;
656 JapaneseCalendar jcal = new JapaneseCalendar(); in TestCalendar()
1323 Calendar jcal = new JapaneseCalendar(); in TestDateFormat()
1328 if (!(dfCal instanceof JapaneseCalendar)) { in TestDateFormat()
1376 if (!(dfCal instanceof JapaneseCalendar)) { in TestDateFormat()
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/format/
DGlobalizationPreferencesTest.java33 import com.ibm.icu.util.JapaneseCalendar;
653 JapaneseCalendar jcal = new JapaneseCalendar(); in TestCalendar()
1320 Calendar jcal = new JapaneseCalendar(); in TestDateFormat()
1325 if (!(dfCal instanceof JapaneseCalendar)) { in TestDateFormat()
1373 if (!(dfCal instanceof JapaneseCalendar)) { in TestDateFormat()
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarFrame.java46 import com.ibm.icu.util.JapaneseCalendar;
433 new CalendarRec("Japanese Calendar", new JapaneseCalendar()),
DCalendarCalc.java46 import com.ibm.icu.util.JapaneseCalendar;
579 new CalendarRec("Japanese", new JapaneseCalendar()),
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DSimpleDateFormatICU.java270 icuCal = new com.ibm.icu.util.JapaneseCalendar(icuTz); in setCalendar()
/third_party/icu/icu4c/source/test/intltest/
Duobjtest.cpp385 …TESTCLASSID_FACTORY(JapaneseCalendar, Calendar::createInstance(Locale("@calendar=japanese"), statu… in testIDs()
Dincaltst.cpp665 int32_t expectEra = JapaneseCalendar::getCurrentEra(); in TestJapanese3860()
700 int32_t expectEra = JapaneseCalendar::getCurrentEra(); in TestJapanese3860()
/third_party/icu/docs/userguide/datetime/calendar/
Dexamples.md266 cal2 = new JapaneseCalendar();
/third_party/icu/docs/userguide/icu4j/
Dfaq.md119 Currently, our JapaneseCalendar is almost identical to the Gregorian calendar,
125 the time fields, etc.) the JapaneseCalendar class will give results that are

12