Searched refs:ChineseCalendar (Results 1 - 25 of 29) sorted by relevance

12

/external/icu/icu4c/source/i18n/
H A Dchnsecal.cpp12 * 9/18/2007 ajmacher ported from java ChineseCalendar
111 // Implementation of the ChineseCalendar class
119 Calendar* ChineseCalendar::clone() const {
120 return new ChineseCalendar(*this);
123 ChineseCalendar::ChineseCalendar(const Locale& aLocale, UErrorCode& success) function in class:ChineseCalendar
132 ChineseCalendar::ChineseCalendar(const Locale& aLocale, int32_t epochYear, function in class:ChineseCalendar
142 ChineseCalendar::ChineseCalendar(cons function in class:ChineseCalendar
[all...]
H A Dchnsecal.h12 * 9/18/2007 ajmacher ported from java ChineseCalendar
29 * <code>ChineseCalendar</code> is a concrete subclass of {@link Calendar}
65 * <p>Because <code>ChineseCalendar</code> defines an additional field and
88 * ChineseCalendar usually should be instantiated using
97 class U_I18N_API ChineseCalendar : public Calendar { class in inherits:Calendar
104 * Constructs a ChineseCalendar based on the current time in the default time zone
108 * @param success Indicates the status of ChineseCalendar object construction.
112 ChineseCalendar(const Locale& aLocale, UErrorCode &success);
117 * Constructs a ChineseCalendar based on the current time in the default time zone
125 * @param success Indicates the status of ChineseCalendar objec
[all...]
H A Ddangical.h34 class DangiCalendar : public ChineseCalendar {
H A Ddangical.cpp53 : ChineseCalendar(aLocale, DANGI_EPOCH_YEAR, getDangiCalZoneAstroCalc(), success)
58 : ChineseCalendar(other)
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
H A DChineseTest.java16 import android.icu.util.ChineseCalendar;
24 * Test of ChineseCalendar.
96 ChineseCalendar cal = new ChineseCalendar();
158 ChineseCalendar cal = new ChineseCalendar();
189 ChineseCalendar chinese = new ChineseCalendar();
249 ChineseCalendar cal = new ChineseCalendar();
[all...]
H A DCalendarTest.java20 import android.icu.util.ChineseCalendar;
64 "IS_LEAP_MONTH" // (ChineseCalendar only)
84 final String pattern = (cal instanceof ChineseCalendar) ?
168 if (cal instanceof ChineseCalendar) {
181 int y = cal.get(cal instanceof ChineseCalendar ?
431 if (cal instanceof ChineseCalendar) {
H A DIBMCalendarTest.java24 import android.icu.util.ChineseCalendar;
893 // ChineseCalendar
894 ChineseCalendar ccal = new ChineseCalendar(TimeZone.getDefault(),
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DChineseTest.java15 import com.ibm.icu.util.ChineseCalendar;
21 * Test of ChineseCalendar.
92 ChineseCalendar cal = new ChineseCalendar();
154 ChineseCalendar cal = new ChineseCalendar();
185 ChineseCalendar chinese = new ChineseCalendar();
245 ChineseCalendar cal = new ChineseCalendar();
[all...]
H A DCalendarTest.java19 import com.ibm.icu.util.ChineseCalendar;
60 "IS_LEAP_MONTH" // (ChineseCalendar only)
80 final String pattern = (cal instanceof ChineseCalendar) ?
164 if (cal instanceof ChineseCalendar) {
177 int y = cal.get(cal instanceof ChineseCalendar ?
427 if (cal instanceof ChineseCalendar) {
H A DIBMCalendarTest.java23 import com.ibm.icu.util.ChineseCalendar;
889 // ChineseCalendar
890 ChineseCalendar ccal = new ChineseCalendar(TimeZone.getDefault(),
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DChineseDateFormat.java14 import android.icu.util.ChineseCalendar;
19 * A concrete {@link DateFormat} for {@link android.icu.util.ChineseCalendar}.
20 * This class handles a <code>ChineseCalendar</code>-specific field,
21 * <code>ChineseCalendar.IS_LEAP_MONTH</code>. It also redefines the
24 * the numeric cycle number in <code>ChineseCalendar</code>. The latter is
27 * <p>With regard to <code>ChineseCalendar.IS_LEAP_MONTH</code>, this
41 * @see android.icu.util.ChineseCalendar
92 new ChineseCalendar(TimeZone.getDefault(), locale), locale, true, override);
111 // ChineseCalendar.IS_LEAP_MONTH));
190 public static final Field IS_LEAP_MONTH = new Field("is leap month", ChineseCalendar
[all...]
H A DChineseDateFormatSymbols.java14 import android.icu.util.ChineseCalendar;
21 * <code>ChineseCalendar.IS_LEAP_MONTH</code> field.
24 * @see android.icu.util.ChineseCalendar
57 super(ChineseCalendar.class, ULocale.forLocale(locale));
67 super(ChineseCalendar.class, locale);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DChineseDateFormatSymbols.java13 import com.ibm.icu.util.ChineseCalendar;
20 * <code>ChineseCalendar.IS_LEAP_MONTH</code> field.
23 * @see com.ibm.icu.util.ChineseCalendar
55 super(ChineseCalendar.class, ULocale.forLocale(locale));
65 super(ChineseCalendar.class, locale);
H A DChineseDateFormat.java13 import com.ibm.icu.util.ChineseCalendar;
18 * A concrete {@link DateFormat} for {@link com.ibm.icu.util.ChineseCalendar}.
19 * This class handles a <code>ChineseCalendar</code>-specific field,
20 * <code>ChineseCalendar.IS_LEAP_MONTH</code>. It also redefines the
23 * the numeric cycle number in <code>ChineseCalendar</code>. The latter is
26 * <p>With regard to <code>ChineseCalendar.IS_LEAP_MONTH</code>, this
40 * @see com.ibm.icu.util.ChineseCalendar
90 new ChineseCalendar(TimeZone.getDefault(), locale), locale, true, override);
109 // ChineseCalendar.IS_LEAP_MONTH));
188 public static final Field IS_LEAP_MONTH = new Field("is leap month", ChineseCalendar
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DChineseCalendar.java21 * <code>ChineseCalendar</code> is a concrete subclass of {@link Calendar}
53 * <p>Because <code>ChineseCalendar</code> defines an additional field and
76 * ChineseCalendar usually should be instantiated using
83 public class ChineseCalendar extends Calendar { class in inherits:Calendar
102 // usage will be to have one instance of ChineseCalendar at a time.
145 * Construct a <code>ChineseCalendar</code> with the default time zone and locale.
147 public ChineseCalendar() { method in class:ChineseCalendar
152 * Construct a <code>ChineseCalendar</code> with the give date set in the default time zone
156 public ChineseCalendar(Date date) { method in class:ChineseCalendar
162 * Constructs a <code>ChineseCalendar</cod
173 public ChineseCalendar(int year, int month, int isLeapMonth, int date) { method in class:ChineseCalendar
195 public ChineseCalendar(int year, int month, int isLeapMonth, int date, int hour, method in class:ChineseCalendar
229 public ChineseCalendar(int era, int year, int month, int isLeapMonth, int date) method in class:ChineseCalendar
253 public ChineseCalendar(int era, int year, int month, int isLeapMonth, int date, int hour, method in class:ChineseCalendar
277 public ChineseCalendar(Locale aLocale) { method in class:ChineseCalendar
287 public ChineseCalendar(TimeZone zone) { method in class:ChineseCalendar
297 public ChineseCalendar(TimeZone zone, Locale aLocale) { method in class:ChineseCalendar
307 public ChineseCalendar(ULocale locale) { method in class:ChineseCalendar
317 public ChineseCalendar(TimeZone zone, ULocale locale) { method in class:ChineseCalendar
330 protected ChineseCalendar(TimeZone zone, ULocale locale, int epochYear, TimeZone zoneAstroCalc) { method in class:ChineseCalendar
[all...]
H A DDangiCalendar.java23 public class DangiCalendar extends ChineseCalendar {
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DChineseCalendar.java20 * <code>ChineseCalendar</code> is a concrete subclass of {@link Calendar}
52 * <p>Because <code>ChineseCalendar</code> defines an additional field and
75 * ChineseCalendar usually should be instantiated using
83 public class ChineseCalendar extends Calendar { class in inherits:Calendar
102 // usage will be to have one instance of ChineseCalendar at a time.
145 * Construct a <code>ChineseCalendar</code> with the default time zone and locale.
148 public ChineseCalendar() { method in class:ChineseCalendar
153 * Construct a <code>ChineseCalendar</code> with the give date set in the default time zone
158 public ChineseCalendar(Date date) { method in class:ChineseCalendar
164 * Constructs a <code>ChineseCalendar</cod
176 public ChineseCalendar(int year, int month, int isLeapMonth, int date) { method in class:ChineseCalendar
199 public ChineseCalendar(int year, int month, int isLeapMonth, int date, int hour, method in class:ChineseCalendar
234 public ChineseCalendar(int era, int year, int month, int isLeapMonth, int date) method in class:ChineseCalendar
259 public ChineseCalendar(int era, int year, int month, int isLeapMonth, int date, int hour, method in class:ChineseCalendar
284 public ChineseCalendar(Locale aLocale) { method in class:ChineseCalendar
295 public ChineseCalendar(TimeZone zone) { method in class:ChineseCalendar
306 public ChineseCalendar(TimeZone zone, Locale aLocale) { method in class:ChineseCalendar
317 public ChineseCalendar(ULocale locale) { method in class:ChineseCalendar
328 public ChineseCalendar(TimeZone zone, ULocale locale) { method in class:ChineseCalendar
340 protected ChineseCalendar(TimeZone zone, ULocale locale, int epochYear, TimeZone zoneAstroCalc) { method in class:ChineseCalendar
[all...]
H A DDangiCalendar.java21 public class DangiCalendar extends ChineseCalendar {
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
H A DCalendarTests.java16 import android.icu.util.ChineseCalendar;
91 ChineseCalendar calendars[] = new ChineseCalendar[locales.length];
94 calendars[i] = new ChineseCalendar(cst, locales[i]);
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
H A DCalendarTests.java15 import com.ibm.icu.util.ChineseCalendar;
90 ChineseCalendar calendars[] = new ChineseCalendar[locales.length];
93 calendars[i] = new ChineseCalendar(cst, locales[i]);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
H A DDebugUtilitiesData.java142 android.icu.util.ChineseCalendar.IS_LEAP_MONTH, /* 22 */
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DDebugUtilitiesData.java141 com.ibm.icu.util.ChineseCalendar.IS_LEAP_MONTH, /* 22 */
/external/icu/icu4c/source/test/intltest/
H A Duobjtest.cpp383 TESTCLASSID_FACTORY(ChineseCalendar, Calendar::createInstance(Locale("@calendar=chinese"), status));
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DDateFormatTest.java52 import android.icu.util.ChineseCalendar;
2290 Calendar chineseCalendar = new ChineseCalendar();
2347 sym = new ChineseDateFormatSymbols(new ChineseCalendar(), new Locale("en_US"));
2353 sym = new ChineseDateFormatSymbols(new ChineseCalendar(), foo);
2355 ChineseCalendar ccal = new ChineseCalendar();
3524 errln("FAIL: ChineseCalendar field " + ccalField + " is returned for ChineseDateFormat.Field.IS_LEAP_MONTH.getCalendarField()");
3528 errln("FAIL: " + cfield + " is returned for a ChineseCalendar field " + ccalField
3840 // Tests when if (calendarField == ChineseCalendar.IS_LEAP_MONTH) is false
4100 ChineseCalendar ca
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DDateFormatTest.java51 import com.ibm.icu.util.ChineseCalendar;
2286 Calendar chineseCalendar = new ChineseCalendar();
2343 sym = new ChineseDateFormatSymbols(new ChineseCalendar(), new Locale("en_US"));
2349 sym = new ChineseDateFormatSymbols(new ChineseCalendar(), foo);
2351 ChineseCalendar ccal = new ChineseCalendar();
3520 errln("FAIL: ChineseCalendar field " + ccalField + " is returned for ChineseDateFormat.Field.IS_LEAP_MONTH.getCalendarField()");
3524 errln("FAIL: " + cfield + " is returned for a ChineseCalendar field " + ccalField
3836 // Tests when if (calendarField == ChineseCalendar.IS_LEAP_MONTH) is false
4096 ChineseCalendar ca
[all...]

Completed in 355 milliseconds

12