/external/syslinux/bios/ |
version.h | 5 #define YEAR 2014
|
/external/syslinux/efi32/ |
version.h | 5 #define YEAR 2014
|
/external/syslinux/efi64/ |
version.h | 5 #define YEAR 2014
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
TestReducedParser.java | 65 import static java.time.temporal.ChronoField.YEAR; 115 {YEAR, 2, 2010, "12", -1, IndexOutOfBoundsException.class}, 116 {YEAR, 2, 2010, "12", 3, IndexOutOfBoundsException.class}, 145 {YEAR, 1, 2010, "-0", 0, 0, null}, 148 {YEAR, 2, 2010, "Xxx12Xxx", 3, 5, 2012}, 149 {YEAR, 2, 2010, "12-45", 0, 2, 2012}, 152 {YEAR, 2, 2010, "A0", 0, 0, null}, 153 {YEAR, 2, 2010, " 1", 0, 0, null}, 154 {YEAR, 2, 2010, "-1", 0, 0, null}, 155 {YEAR, 2, 2010, "-10", 0, 0, null} [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/duration/ |
PeriodTest.java | 24 Period p = Period.at(0, TimeUnit.YEAR); 26 assertTrue(null, p.isSet(TimeUnit.YEAR)); 28 assertEquals(null, 0f, p.getCount(TimeUnit.YEAR), .1f); 29 p = p.omit(TimeUnit.YEAR); 30 assertFalse(null, p.isSet(TimeUnit.YEAR)); 35 Period p = Period.moreThan(1, TimeUnit.YEAR); 48 p = Period.lessThan(1, TimeUnit.YEAR); 52 p = Period.at(1, TimeUnit.YEAR); 56 assertEquals(null, 1f, p.getCount(TimeUnit.YEAR), .1f); 61 Period p = Period.at(1, TimeUnit.YEAR).inFuture() [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
PeriodTest.java | 23 Period p = Period.at(0, TimeUnit.YEAR); 25 assertTrue(null, p.isSet(TimeUnit.YEAR)); 27 assertEquals(null, 0f, p.getCount(TimeUnit.YEAR), .1f); 28 p = p.omit(TimeUnit.YEAR); 29 assertFalse(null, p.isSet(TimeUnit.YEAR)); 34 Period p = Period.moreThan(1, TimeUnit.YEAR); 47 p = Period.lessThan(1, TimeUnit.YEAR); 51 p = Period.at(1, TimeUnit.YEAR); 55 assertEquals(null, 1f, p.getCount(TimeUnit.YEAR), .1f); 60 Period p = Period.at(1, TimeUnit.YEAR).inFuture() [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
TimeUnitConstants.java | 18 /** Represents a year. */ 19 public static final TimeUnit YEAR = TimeUnit.YEAR;
|
TimeUnit.java | 36 /** Represents a year. */ 37 public static final TimeUnit YEAR = new TimeUnit("year", 0); 72 YEAR, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
TimeUnitConstants.java | 16 /** Represents a year. */ 17 public static final TimeUnit YEAR = TimeUnit.YEAR;
|
TimeUnit.java | 34 /** Represents a year. */ 35 public static final TimeUnit YEAR = new TimeUnit("year", 0); 70 YEAR, MONTH, WEEK, DAY, HOUR, MINUTE, SECOND, MILLISECOND
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
TimeUnit.java | 38 return new TimeUnit[] { SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR }; 62 return YEAR;
|
TaiwanCalendar.java | 21 * except for the year and era. Years are numbered since 1912 AD (Gregorian). 137 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field. 144 public TaiwanCalendar(int year, int month, int date) { 145 super(year, month, date); 152 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field. 161 public TaiwanCalendar(int year, int month, int date, int hour 186 int year = GREGORIAN_EPOCH; local [all...] |
CopticCalendar.java | 32 * the 1st month of the Coptic year. 38 * the 2nd month of the Coptic year. 44 * the 3rd month of the Coptic year. 50 * the 4th month of the Coptic year. 56 * the 5th month of the Coptic year. 62 * the 6th month of the Coptic year. 68 * the 7th month of the Coptic year. 74 * the 8th month of the Coptic year. 80 * the 9th month of the Coptic year. 86 * the 10th month of the Coptic year. 252 int era, year; local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
TimeUnit.java | 40 return new TimeUnit[] { SECOND, MINUTE, HOUR, DAY, WEEK, MONTH, YEAR }; 64 return YEAR;
|
TaiwanCalendar.java | 20 * except for the year and era. Years are numbered since 1912 AD (Gregorian). 147 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field. 155 public TaiwanCalendar(int year, int month, int date) { 156 super(year, month, date); 163 * @param year The value used to set the calendar's {@link #YEAR YEAR} time field. 173 public TaiwanCalendar(int year, int month, int date, int hour 199 int year = GREGORIAN_EPOCH; local [all...] |
CopticCalendar.java | 32 * the 1st month of the Coptic year. 39 * the 2nd month of the Coptic year. 46 * the 3rd month of the Coptic year. 53 * the 4th month of the Coptic year. 60 * the 5th month of the Coptic year. 67 * the 6th month of the Coptic year. 74 * the 7th month of the Coptic year. 81 * the 8th month of the Coptic year. 88 * the 9th month of the Coptic year. 95 * the 10th month of the Coptic year. 273 int era, year; local [all...] |
/developers/build/prebuilts/gradle/SpeedTracker/Shared/src/main/java/com/example/android/wearable/speedtracker/common/ |
Utils.java | 27 * Builds a simple hash for a day by concatenating year and day of year together. Note that two 32 return day.get(Calendar.YEAR) + "-" + day.get(Calendar.DAY_OF_YEAR);
|
/developers/samples/android/wearable/wear/SpeedTracker/Shared/src/main/java/com/example/android/wearable/speedtracker/common/ |
Utils.java | 27 * Builds a simple hash for a day by concatenating year and day of year together. Note that two 32 return day.get(Calendar.YEAR) + "-" + day.get(Calendar.DAY_OF_YEAR);
|
/development/samples/browseable/SpeedTracker/Shared/src/com.example.android.wearable.speedtracker.common/ |
Utils.java | 27 * Builds a simple hash for a day by concatenating year and day of year together. Note that two 32 return day.get(Calendar.YEAR) + "-" + day.get(Calendar.DAY_OF_YEAR);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
ChineseTestCase.java | 23 * @param year the YEAR field of tested calendar on the given 34 int era, int year, int month, 40 set(Calendar.YEAR, year); 52 get(Calendar.YEAR) + "of" + get(Calendar.ERA) +
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
ChineseTestCase.java | 22 * @param year the YEAR field of tested calendar on the given 33 int era, int year, int month, 39 set(Calendar.YEAR, year); 51 get(Calendar.YEAR) + "of" + get(Calendar.ERA) +
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/asctime/ |
1-1.c | 18 #define YEAR 73 48 time_ptr.tm_year = YEAR;
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
MinguoChronologyTest.java | 36 // year 1 in Minguo calendar is 1912 in ISO calendar. 53 expected = ValueRange.of(1, ChronoField.YEAR.range().getMaximum() - YEARS_BEHIND, 54 -ChronoField.YEAR.range().getMinimum() + 1 + YEARS_BEHIND); 56 case YEAR: 57 // Proleptic year values are shifted by YEAR. 58 expected = ValueRange.of(ChronoField.YEAR.range().getMinimum() - YEARS_BEHIND, 59 ChronoField.YEAR.range().getMaximum() - YEARS_BEHIND); 84 MinguoDate.from(LocalDate.of(2000, 2, 1)), //February of a leap year 85 MinguoDate.from(LocalDate.of(2001, 2, 1)), //February of a non-leap year [all...] |
ThaiBuddhistChronologyTest.java | 36 // year 2543 in Thai Buddhist calendar is 2000 in ISO calendar. 54 .of(1, -ChronoField.YEAR.range().getMinimum() + 1 - YEARS_AHEAD, 55 ChronoField.YEAR.range().getMaximum() + YEARS_AHEAD); 57 case YEAR: 58 // Proleptic year values are shifted by YEAR. 59 expected = ValueRange.of(ChronoField.YEAR.range().getMinimum() + YEARS_AHEAD, 60 ChronoField.YEAR.range().getMaximum() + YEARS_AHEAD); 86 ThaiBuddhistDate.from(LocalDate.of(2000, 2, 1)), //February of a leap year 87 ThaiBuddhistDate.from(LocalDate.of(2001, 2, 1)), //February of a non-leap year [all...] |
/libcore/ojluni/src/main/java/java/time/chrono/ |
AbstractChronology.java | 75 import static java.time.temporal.ChronoField.YEAR; 375 * {@code YEAR} and {@code MONTH_OF_YEAR}. If the mode is strict or smart 378 * are combined to form a {@code YEAR}. In lenient mode, the {@code YEAR_OF_ERA} 384 * <li>{@code YEAR}, {@code MONTH_OF_YEAR} and {@code DAY_OF_MONTH} - 386 * In all three modes, the {@code YEAR} is validated. 389 * creating a date on the first day of the first month in the requested year, 392 * the year-month, then the day-of-month is adjusted to the last day-of-month. 394 * <li>{@code YEAR} and {@code DAY_OF_YEAR} - 396 * In all three modes, the {@code YEAR} is validated. 398 * creating a date on the first day of the requested year, then addin 528 int year = range(YEAR).checkValidIntValue(fieldValues.get(YEAR), YEAR); local [all...] |