Home
last modified time | relevance | path

Searched refs:YEAR (Results 1 - 25 of 171) sorted by relevance

1234567

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
H A DPeriodTest.java26 Period p = Period.at(0, TimeUnit.YEAR); in testIsSet()
28 assertTrue(null, p.isSet(TimeUnit.YEAR)); in testIsSet()
30 assertEquals(null, 0f, p.getCount(TimeUnit.YEAR), .1f); in testIsSet()
31 p = p.omit(TimeUnit.YEAR); in testIsSet()
32 assertFalse(null, p.isSet(TimeUnit.YEAR)); in testIsSet()
37 Period p = Period.moreThan(1, TimeUnit.YEAR); in testMoreLessThan()
50 p = Period.lessThan(1, TimeUnit.YEAR); in testMoreLessThan()
54 p = Period.at(1, TimeUnit.YEAR); in testMoreLessThan()
58 assertEquals(null, 1f, p.getCount(TimeUnit.YEAR), .1f); in testMoreLessThan()
63 Period p = Period.at(1, TimeUnit.YEAR) in testFuturePast()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/
H A DPeriodTest.java29 Period p = Period.at(0, TimeUnit.YEAR); in testIsSet()
31 assertTrue(null, p.isSet(TimeUnit.YEAR)); in testIsSet()
33 assertEquals(null, 0f, p.getCount(TimeUnit.YEAR), .1f); in testIsSet()
34 p = p.omit(TimeUnit.YEAR); in testIsSet()
35 assertFalse(null, p.isSet(TimeUnit.YEAR)); in testIsSet()
40 Period p = Period.moreThan(1, TimeUnit.YEAR); in testMoreLessThan()
53 p = Period.lessThan(1, TimeUnit.YEAR); in testMoreLessThan()
57 p = Period.at(1, TimeUnit.YEAR); in testMoreLessThan()
61 assertEquals(null, 1f, p.getCount(TimeUnit.YEAR), .1f); in testMoreLessThan()
66 Period p = Period.at(1, TimeUnit.YEAR) in testFuturePast()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DGregorianCalendar.java116 * System.out.println("YEAR: " + calendar.get(Calendar.YEAR));
141 * System.out.println("YEAR: " + calendar.get(Calendar.YEAR));
261 { 1, 1, 5828963, 5838270 }, // YEAR
401 * @param year the value used to set the YEAR time field in the calendar.
411 set(YEAR, year); in GregorianCalendar()
419 * @param year the value used to set the YEAR time field in the calendar.
434 set(YEAR, year); in GregorianCalendar()
444 * @param year the value used to set the YEAR tim
[all...]
H A DTaiwanCalendar.java147 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
163 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
200 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR in handleGetExtendedYear()
206 year = internalGet(YEAR, 1) + Taiwan_ERA_START; in handleGetExtendedYear()
208 year = 1 - internalGet(YEAR, 1) + Taiwan_ERA_START; in handleGetExtendedYear()
223 internalSet(YEAR, y); in handleComputeFields()
226 internalSet(YEAR, 1- y); in handleComputeFields()
232 * should really handle YEAR, YEAR_WO
[all...]
H A DJapaneseCalendar.java166 * @param year The value used to set the calendar's {@link #YEAR YEAR} field,
184 * @param year The value used to set the calendar's {@link #YEAR YEAR} field,
203 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field,
282 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR && in handleGetExtendedYear()
287 year = internalGet(YEAR, 1) // pin to minimum of year 1 (first year) in handleGetExtendedYear()
350 internalSet(YEAR, year - ERA_RULES.getStartYear(eraIdx) + 1); in handleComputeFields()
421 case YEAR in handleGetLimit()
[all...]
H A DEthiopicCalendar.java223 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
248 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
306 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear()
309 eyear = internalGet(YEAR, 1 + AMETE_MIHRET_DELTA) in handleGetExtendedYear()
315 eyear = internalGet(YEAR, 1); // Default to year 1 in handleGetExtendedYear()
317 eyear = internalGet(YEAR, 1) - AMETE_MIHRET_DELTA; in handleGetExtendedYear()
354 internalSet(YEAR, year); in handleComputeFields()
H A DCopticCalendar.java197 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
222 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
254 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear()
260 eyear = 1 - internalGet(YEAR, 1); // Convert to extended year in handleGetExtendedYear()
262 eyear = internalGet(YEAR, 1); // Default to year 1 in handleGetExtendedYear()
294 internalSet(YEAR, year); in handleComputeFields()
H A DHebrewCalendar.java177 { -5000000, -5000000, 5000000, 5000000 }, // YEAR
354 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
365 this.set(YEAR, year); in HebrewCalendar()
387 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
406 this.set(YEAR, year); in HebrewCalendar()
460 int year = get(YEAR); in add()
492 set(YEAR, year); in add()
542 int year = get(YEAR); in roll()
[all...]
H A DPersianCalendar.java213 * @param year the value used to set the {@link #YEAR YEAR} time field in the calendar.
226 this.set(Calendar.YEAR, year); in PersianCalendar()
235 * @param year the value used to set the {@link #YEAR YEAR} time field in the calendar.
255 this.set(Calendar.YEAR, year); in PersianCalendar()
271 { -5000000, -5000000, 5000000, 5000000}, // YEAR
393 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear()
396 year = internalGet(YEAR, 1); // Default to year 1 in handleGetExtendedYear()
406 * <li>YEAR
[all...]
H A DIndianCalendar.java247 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
258 this.set(Calendar.YEAR, year); in IndianCalendar()
268 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
287 this.set(Calendar.YEAR, year); in IndianCalendar()
315 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear()
319 year = internalGet(YEAR, 1); in handleGetExtendedYear()
396 internalSet(YEAR, IndianYear); in handleComputeFields()
406 { -5000000, -5000000, 5000000, 5000000}, // YEAR
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DGregorianCalendar.java117 * System.out.println("YEAR: " + calendar.get(Calendar.YEAR));
142 * System.out.println("YEAR: " + calendar.get(Calendar.YEAR));
259 { 1, 1, 5828963, 5838270 }, // YEAR
390 * @param year the value used to set the YEAR time field in the calendar.
399 set(YEAR, year); in GregorianCalendar()
407 * @param year the value used to set the YEAR time field in the calendar.
421 set(YEAR, year); in GregorianCalendar()
431 * @param year the value used to set the YEAR tim
[all...]
H A DTaiwanCalendar.java137 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
152 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
187 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR in handleGetExtendedYear()
193 year = internalGet(YEAR, 1) + Taiwan_ERA_START; in handleGetExtendedYear()
195 year = 1 - internalGet(YEAR, 1) + Taiwan_ERA_START; in handleGetExtendedYear()
209 internalSet(YEAR, y); in handleComputeFields()
212 internalSet(YEAR, 1- y); in handleComputeFields()
218 * should really handle YEAR, YEAR_WO
[all...]
H A DJapaneseCalendar.java159 * @param year The value used to set the calendar's {@link #YEAR YEAR} field,
176 * @param year The value used to set the calendar's {@link #YEAR YEAR} field,
194 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field,
271 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR && in handleGetExtendedYear()
276 year = internalGet(YEAR, 1) // pin to minimum of year 1 (first year) in handleGetExtendedYear()
338 internalSet(YEAR, year - ERA_RULES.getStartYear(eraIdx) + 1); in handleComputeFields()
402 case YEAR in handleGetLimit()
[all...]
H A DEthiopicCalendar.java204 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
227 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
279 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear()
282 eyear = internalGet(YEAR, 1 + AMETE_MIHRET_DELTA) in handleGetExtendedYear()
288 eyear = internalGet(YEAR, 1); // Default to year 1 in handleGetExtendedYear()
290 eyear = internalGet(YEAR, 1) - AMETE_MIHRET_DELTA; in handleGetExtendedYear()
326 internalSet(YEAR, year); in handleComputeFields()
H A DCopticCalendar.java178 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
201 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
230 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear()
236 eyear = 1 - internalGet(YEAR, 1); // Convert to extended year in handleGetExtendedYear()
238 eyear = internalGet(YEAR, 1); // Default to year 1 in handleGetExtendedYear()
270 internalSet(YEAR, year); in handleComputeFields()
H A DHebrewCalendar.java164 { -5000000, -5000000, 5000000, 5000000 }, // YEAR
335 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
345 this.set(YEAR, year); in HebrewCalendar()
366 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field.
384 this.set(YEAR, year); in HebrewCalendar()
436 int year = get(YEAR); in add()
468 set(YEAR, year); in add()
516 int year = get(YEAR); in roll()
[all...]
H A DPersianCalendar.java215 * @param year the value used to set the {@link #YEAR YEAR} time field in the calendar.
228 this.set(Calendar.YEAR, year); in PersianCalendar()
237 * @param year the value used to set the {@link #YEAR YEAR} time field in the calendar.
257 this.set(Calendar.YEAR, year); in PersianCalendar()
273 { -5000000, -5000000, 5000000, 5000000}, // YEAR
395 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear()
398 year = internalGet(YEAR, 1); // Default to year 1 in handleGetExtendedYear()
408 * <li>YEAR
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
H A DIBMCalendarTest.java193 int y = cal.get(Calendar.YEAR); in quasiGregorianTest()
196 cal.get(Calendar.YEAR) + "/" + in quasiGregorianTest()
200 cal.get(Calendar.YEAR) + "/" + in quasiGregorianTest()
519 int y = cal.fieldDifference(date2004, Calendar.YEAR); in TestLeapFieldDifference()
527 y = cal.fieldDifference(date2000, Calendar.YEAR); in TestLeapFieldDifference()
652 cal.set(Calendar.YEAR, 2002); in TestTimeZoneTransitionAdd()
746 cal.set(Calendar.YEAR, test.womyear); in TestJB1684()
901 bcal.add(Calendar.YEAR, 1); in TestCoverage()
914 ccal.add(Calendar.YEAR, 1); in TestCoverage()
916 ccal.roll(Calendar.YEAR, in TestCoverage()
[all...]
H A DJapaneseTest.java120 logln("min year: " + cal.getMinimum(Calendar.YEAR)); in TestCoverage()
121 cal.set(Calendar.YEAR, cal.getActualMaximum(Calendar.YEAR)); in TestCoverage()
123 cal.add(Calendar.YEAR, 1); in TestCoverage()
172 int gotYear = cal.get(Calendar.YEAR); in Test3860()
205 gotYear = cal2.get(Calendar.YEAR); in Test3860()
335 "ERA", "YEAR", "MONTH", "WEEK_OF_YEAR", "WEEK_OF_MONTH", in checkExpected()
366 Calendar.YEAR, 45 }; in Test5345calendar()
381 c.set(Calendar.YEAR, 1); in Test5345calendar()
392 c.set(Calendar.YEAR, in Test5345calendar()
[all...]
H A DHebrewTest.java78 { 5757, TISHRI, 1, YEAR, 1, 5758, TISHRI, 1 }, in TestRoll()
83 { 5758, KISLEV, 30, YEAR, -1, 5757, KISLEV, 29 }, in TestRoll()
248 calendar.set(Calendar.YEAR, 5717); in TestTimeFields()
275 cal.set(Calendar.YEAR, year); in TestElulMonth()
279 int yact = cal.get(Calendar.YEAR); in TestElulMonth()
330 cal.set(Calendar.YEAR, y); in TestMonthMovement()
333 yact = cal.get(Calendar.YEAR); mact = cal.get(Calendar.MONTH) + 1; in TestMonthMovement()
340 cal.set(Calendar.YEAR, y); in TestMonthMovement()
347 (cal.get(Calendar.MONTH) + 1) + "/" + cal.get(Calendar.YEAR)); in TestMonthMovement()
352 cal.set(Calendar.YEAR, in TestMonthMovement()
[all...]
/third_party/node/deps/openssl/openssl/util/perl/OpenSSL/
H A Dcopyright.pm22 my $YEAR = [localtime()]->[5] + 1900;
27 or return $YEAR;
31 $YEAR = $LINE if $LINE;
32 return $YEAR;
/third_party/openssl/util/perl/OpenSSL/
H A Dcopyright.pm22 my $YEAR = [localtime()]->[5] + 1900;
27 or return $YEAR;
31 $YEAR = $LINE if $LINE;
32 return $YEAR;
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DIBMCalendarTest.java193 int y = cal.get(Calendar.YEAR); in quasiGregorianTest()
196 cal.get(Calendar.YEAR) + "/" + in quasiGregorianTest()
200 cal.get(Calendar.YEAR) + "/" + in quasiGregorianTest()
519 int y = cal.fieldDifference(date2004, Calendar.YEAR); in TestLeapFieldDifference()
527 y = cal.fieldDifference(date2000, Calendar.YEAR); in TestLeapFieldDifference()
652 cal.set(Calendar.YEAR, 2002); in TestTimeZoneTransitionAdd()
746 cal.set(Calendar.YEAR, test.womyear); in TestJB1684()
901 bcal.add(Calendar.YEAR, 1); in TestCoverage()
914 ccal.add(Calendar.YEAR, 1); in TestCoverage()
916 ccal.roll(Calendar.YEAR, in TestCoverage()
[all...]
H A DJapaneseTest.java117 logln("min year: " + cal.getMinimum(Calendar.YEAR)); in TestCoverage()
118 cal.set(Calendar.YEAR, cal.getActualMaximum(Calendar.YEAR)); in TestCoverage()
120 cal.add(Calendar.YEAR, 1); in TestCoverage()
169 int gotYear = cal.get(Calendar.YEAR); in Test3860()
202 gotYear = cal2.get(Calendar.YEAR); in Test3860()
332 "ERA", "YEAR", "MONTH", "WEEK_OF_YEAR", "WEEK_OF_MONTH", in checkExpected()
363 Calendar.YEAR, 45 }; in Test5345calendar()
378 c.set(Calendar.YEAR, 1); in Test5345calendar()
389 c.set(Calendar.YEAR, in Test5345calendar()
[all...]
H A DHebrewTest.java75 { 5757, TISHRI, 1, YEAR, 1, 5758, TISHRI, 1 }, in TestRoll()
80 { 5758, KISLEV, 30, YEAR, -1, 5757, KISLEV, 29 }, in TestRoll()
245 calendar.set(Calendar.YEAR, 5717); in TestTimeFields()
272 cal.set(Calendar.YEAR, year); in TestElulMonth()
276 int yact = cal.get(Calendar.YEAR); in TestElulMonth()
327 cal.set(Calendar.YEAR, y); in TestMonthMovement()
330 yact = cal.get(Calendar.YEAR); mact = cal.get(Calendar.MONTH) + 1; in TestMonthMovement()
337 cal.set(Calendar.YEAR, y); in TestMonthMovement()
344 (cal.get(Calendar.MONTH) + 1) + "/" + cal.get(Calendar.YEAR)); in TestMonthMovement()
349 cal.set(Calendar.YEAR, in TestMonthMovement()
[all...]

Completed in 218 milliseconds

1234567