HomeSort by relevance Sort by last modified time
    Searched refs:era (Results 1 - 25 of 80) sorted by null

1 2 3 4

  /external/icu/icu4c/source/i18n/
taiwncal.cpp 76 int32_t era = internalGet(UCAL_ERA, MINGUO); local
77 if(era == MINGUO) {
79 } else if(era == BEFORE_MINGUO) {
117 int32_t era = internalGet(UCAL_ERA);
120 if(era == GregorianCalendar::BC) {
122 era = TaiwanCalendar::MINGUO;
123 } else if(era == GregorianCalendar::AD) {
124 era = TaiwanCalendar::MINGUO;
131 internalSet(UCAL_ERA, era);
ethpccal.cpp 92 // The year defaults to the epoch start, the era to AMETE_MIHRET
93 int32_t era = internalGet(UCAL_ERA, AMETE_MIHRET); local
94 if (era == AMETE_MIHRET) {
106 int32_t eyear, month, day, era, year; local
110 era = AMETE_ALEM;
114 era = AMETE_MIHRET;
117 era = AMETE_ALEM;
123 internalSet(UCAL_ERA, era);
134 return 0; // Only one era in this mode, era is always
    [all...]
buddhcal.cpp 29 //static const int32_t kMaxEra = 0; // only 1 era
110 int32_t era = internalGet(UCAL_ERA);
113 if(era == GregorianCalendar::BC) {
115 era = BuddhistCalendar::BE;
116 } else if(era == GregorianCalendar::AD) {
117 era = BuddhistCalendar::BE;
124 internalSet(UCAL_ERA, era);
coptccal.cpp 66 // The year defaults to the epoch start, the era to CE
67 int32_t era = internalGet(UCAL_ERA, CE); local
68 if (era == BCE) {
80 int32_t eyear, month, day, era, year; local
84 era = BCE;
87 era = CE;
92 internalSet(UCAL_ERA, era);
japancal.cpp 64 // Initialize global Japanese era data
66 // Although start date of next Japanese era is planned ahead, a name of
67 // new era might not be available. This implementation allows tester to
68 // check a new era without era names by settings below (in priority order).
69 // By default, such tentative era is disabled.
144 int32_t era = internalGetEra(); local
145 // TODO do we assume we can trust 'era'? What if it is denormalized?
149 // Find out if we are at the edge of an era
152 gJapaneseEraRules->getStartDate(era, eraStart, status)
165 int32_t era = internalGetEra(); local
274 int32_t era = get(UCAL_ERA, status); local
    [all...]
vzone.cpp 119 vzone_getOffset(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day,
121 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, status);
125 vzone_getOffset2(VZone* zone, uint8_t era, int32_t year, int32_t month, int32_t day,
128 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status);
  /external/icu/android_icu4j/src/main/java/android/icu/util/
CopticCalendar.java 233 // The year defaults to the epoch start, the era to AD
234 int era = internalGet(ERA, CE); local
235 if (era == BCE) {
252 int era, year; local
261 era = BCE;
264 era = CE;
269 internalSet(ERA, era);
JapaneseCalendar.java 21 * except for the year and era. The ascension of each emperor to the throne
22 * begins a new era, and the years of that era are numbered starting with the
26 * of year and era values: that for the old era and for the new. For example, a
27 * new era began on January 7, 1989 AD. Strictly speaking, the first six days
28 * of that year were in the Showa era, e.g. "January 6, 64 Showa", while the rest
29 * of the year was in the Heisei era, e.g. "January 7, 1 Heisei". This class
35 * for these eras, suitable for use in the <code>ERA</code> field, are provided
36 * in this class. Note that the <em>number</em> used for each era is more o
284 int era = internalGet(ERA, CURRENT_ERA); local
308 int era = internalGet(ERA, CURRENT_ERA); local
445 int era = get(Calendar.ERA); local
    [all...]
EthiopicCalendar.java 132 // Era mode. When eraType is AMETE_ALEM_ERA,
133 // Amete Mihret won't be used for the ERA field.
252 * Set Alem or Mihret era.
254 * @param onOff Set Amete Alem era if true, otherwise set Amete Mihret era.
261 * Return true if this calendar is set to the Amete Alem era.
263 * @return true if set to the Amete Alem era.
285 // The year defaults to the epoch start, the era to AMETE_MIHRET
286 int era = internalGet(ERA, AMETE_MIHRET) local
303 int era, year; local
    [all...]
TaiwanCalendar.java 21 * except for the year and era. Years are numbered since 1912 AD (Gregorian).
23 * The Taiwan Calendar has one era: <code>MINGUO</code>.
47 * Constant for the Taiwan Era for years before Minguo 1.
51 * @see android.icu.util.Calendar#ERA
56 * Constant for the Taiwan Era for Minguo. Minguo 1 is 1912 in
59 * @see android.icu.util.Calendar#ERA
188 && newerField(EXTENDED_YEAR, ERA) == EXTENDED_YEAR) {
191 int era = internalGet(ERA, MINGUO); local
192 if (era == MINGUO)
    [all...]
GregorianCalendar.java 116 * System.out.println("ERA: " + calendar.get(Calendar.ERA));
141 * System.out.println("ERA: " + calendar.get(Calendar.ERA));
213 * Value of the <code>ERA</code> field indicating
214 * the period before the common era (before Christ), also known as BCE.
217 * @see Calendar#ERA
222 * Value of the <code>ERA</code> field indicating
223 * the common era (Anno Domini), also known as CE.
226 * @see Calendar#ERA
652 int era = cal.get(ERA); local
773 int era = AD; local
794 int era = internalGet(ERA, AD); local
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
CopticCalendar.java 255 // The year defaults to the epoch start, the era to AD
256 int era = internalGet(ERA, CE); local
257 if (era == BCE) {
273 int era, year; local
282 era = BCE;
285 era = CE;
290 internalSet(ERA, era);
JapaneseCalendar.java 20 * except for the year and era. The ascension of each emperor to the throne
21 * begins a new era, and the years of that era are numbered starting with the
25 * of year and era values: that for the old era and for the new. For example, a
26 * new era began on January 7, 1989 AD. Strictly speaking, the first six days
27 * of that year were in the Showa era, e.g. "January 6, 64 Showa", while the rest
28 * of the year was in the Heisei era, e.g. "January 7, 1 Heisei". This class
34 * for these eras, suitable for use in the <code>ERA</code> field, are provided
35 * in this class. Note that the <em>number</em> used for each era is more o
296 int era = internalGet(ERA, CURRENT_ERA); local
321 int era = internalGet(ERA, CURRENT_ERA); local
464 int era = get(Calendar.ERA); local
    [all...]
EthiopicCalendar.java 145 // Era mode. When eraType is AMETE_ALEM_ERA,
146 // Amete Mihret won't be used for the ERA field.
275 * Set Alem or Mihret era.
277 * @param onOff Set Amete Alem era if true, otherwise set Amete Mihret era.
285 * Return true if this calendar is set to the Amete Alem era.
287 * @return true if set to the Amete Alem era.
310 // The year defaults to the epoch start, the era to AMETE_MIHRET
311 int era = internalGet(ERA, AMETE_MIHRET) local
328 int era, year; local
    [all...]
TaiwanCalendar.java 20 * except for the year and era. Years are numbered since 1912 AD (Gregorian).
22 * The Taiwan Calendar has one era: <code>MINGUO</code>.
47 * Constant for the Taiwan Era for years before Minguo 1.
51 * @see com.ibm.icu.util.Calendar#ERA
57 * Constant for the Taiwan Era for Minguo. Minguo 1 is 1912 in
60 * @see com.ibm.icu.util.Calendar#ERA
201 && newerField(EXTENDED_YEAR, ERA) == EXTENDED_YEAR) {
204 int era = internalGet(ERA, MINGUO); local
205 if (era == MINGUO)
    [all...]
GregorianCalendar.java 115 * System.out.println("ERA: " + calendar.get(Calendar.ERA));
140 * System.out.println("ERA: " + calendar.get(Calendar.ERA));
213 * Value of the <code>ERA</code> field indicating
214 * the period before the common era (before Christ), also known as BCE.
217 * @see Calendar#ERA
223 * Value of the <code>ERA</code> field indicating
224 * the common era (Anno Domini), also known as CE.
227 * @see Calendar#ERA
674 int era = cal.get(ERA); local
798 int era = AD; local
820 int era = internalGet(ERA, AD); local
    [all...]
  /external/u-boot/drivers/crypto/fsl/
sec.c 106 u8 era; member in struct:__anon47212
130 u8 era = (ccbvid & SEC_CCBVID_ERA_MASK) >> SEC_CCBVID_ERA_SHIFT; local
134 if (era) /* This is '0' prior to CAAM ERA-6 */
135 return era;
140 return caam_eras[i].era;
145 static void fdt_fixup_crypto_era(void *blob, u32 era)
156 err = fdt_setprop_u32(blob, crypto_node, "fsl,sec-era", era);
158 printf("ERROR: could not set fsl,sec-era property: %s\n"
165 u8 era; local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
ChineseTestCase.java 23 * @param era the ERA field of tested calendar on the given Julian
36 int era, int year, int month,
41 set(Calendar.ERA, era);
55 get(Calendar.YEAR) + "of" + get(Calendar.ERA) +
TestCase.java 85 * @param era The ERA field of tested calendar on the given julian day
95 int era, int year, int month, int day,
101 set(Calendar.ERA, era);
119 * @param era The ERA field of tested calendar on the given gregorian date
129 int era, int year, int month, int day,
138 set(Calendar.ERA, era);
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
ChineseTestCase.java 20 * @param era the ERA field of tested calendar on the given Julian
33 int era, int year, int month,
38 set(Calendar.ERA, era);
52 get(Calendar.YEAR) + "of" + get(Calendar.ERA) +
TestCase.java 82 * @param era The ERA field of tested calendar on the given julian day
92 int era, int year, int month, int day,
98 set(Calendar.ERA, era);
116 * @param era The ERA field of tested calendar on the given gregorian date
126 int era, int year, int month, int day,
135 set(Calendar.ERA, era);
    [all...]
  /external/icu/icu4c/source/test/intltest/
calcasts.h 31 int32_t era; member in struct:CalendarCaseTest::TestCase
42 * @param cases array of items to test. Terminate with a "-1" for era.
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
TimeZoneAdapter.java 91 public int getOffset(int era, int year, int month, int day, int dayOfWeek,
93 return zone.getOffset(era, year, month, day, dayOfWeek, millis);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
TimeZoneAdapter.java 88 public int getOffset(int era, int year, int month, int day, int dayOfWeek,
90 return zone.getOffset(era, year, month, day, dayOfWeek, millis);
  /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
TimeZoneICU.java 69 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int milliseconds) {
70 return fIcuTz.getOffset(era, year, month, day, dayOfWeek, milliseconds);

Completed in 702 milliseconds

1 2 3 4