/device/linaro/bootloader/edk2/Omap35xxPkg/Library/RealTimeClockLib/ |
RealTimeClockLib.c | 76 Time->Year = 2000 + ((Data >> 4) & 0xF) * 10 + (Data & 0xF);
139 // UEFI spec says valid year range is 1900-9999 but TPS only supports 2000-2099
141 || (Time->Year < 2000 || Time->Year > 2099)
155 Data = Time->Year - 2000;
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/ |
EventLogInfo.h | 25 UINT8 Year;
|
EventLogInfo.c | 381 if (Log != NULL && Log->Year >= 80 && Log->Year <= 99) {
383 } else if (Log != NULL && Log->Year <= 79) {
393 Log->Year,
|
/libcore/ojluni/src/test/java/time/test/java/time/temporal/ |
TestIsoWeekFields.java | 34 import java.time.Year; 126 assertEquals(yearField.range(), ValueRange.of(Year.MIN_VALUE, Year.MAX_VALUE)); 131 assertEquals(yearField.rangeRefinedBy(LocalDate.of(2012, 12, 31)), ValueRange.of(Year.MIN_VALUE, Year.MAX_VALUE));
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
TCKLocalDateTime.java | 88 import static java.time.temporal.ChronoField.YEAR; 122 import java.time.Year; 211 YEAR, 241 private LocalDateTime createDateMidnight(int year, int month, int day) { 242 return LocalDateTime.of(year, month, day, 0, 0); 250 check(LocalDateTime.MIN, Year.MIN_VALUE, 1, 1, 0, 0, 0, 0); 255 check(LocalDateTime.MAX, Year.MAX_VALUE, 12, 31, 23, 59, 59, 999999999); 766 {OffsetDateTime.of(LocalDateTime.of(Year.MIN_VALUE, 1, 1, 0, 0), ZoneOffset.UTC).toInstant(), 768 {OffsetDateTime.of(LocalDateTime.of(Year.MAX_VALUE, 12, 31, 23, 59, 59, 999_999_999), ZoneOffset.UTC).toInstant(), [all...] |
/libcore/ojluni/src/main/java/java/time/ |
Ser.java | 81 * example in the case of {@link LocalDate} year is written before month. Composite classes, such as 151 * <li><a href="../../serialized-form.html#java.time.Year">Year.writeReplace</a> 199 ((Year) object).writeExternal(out); 228 * <li><a href="../../serialized-form.html#java.time.LocalDate">LocalDate</a> - {@code LocalDate.of(year, month, day);} 235 * <li><a href="../../serialized-form.html#java.time.Year">Year</a> - {@code Year.of(year);} 236 * <li><a href="../../serialized-form.html#java.time.YearMonth">YearMonth</a> - {@code YearMonth.of(year, month); [all...] |
/device/linaro/bootloader/edk2/MdePkg/Library/BasePrintLib/ |
PrintLibInternal.h | 43 UINT16 Year;
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
JapaneseChronology.java | 63 import static java.time.temporal.ChronoField.YEAR; 75 import java.time.Year; 100 * apart from the era-based year numbering. 115 * <li>{@code YEAR} 190 * era, year-of-era, month-of-year and day-of-month fields. 203 * @param yearOfEra the year-of-era 204 * @param month the month-of-year 220 * proleptic-year, month-of-year and day-of-month fields [all...] |
IsoChronology.java | 69 import static java.time.temporal.ChronoField.YEAR; 81 import java.time.Year; 105 * <li>year-of-era - The year-of-era is the same as the proleptic-year for the current CE era. 106 * For the BCE era before the ISO epoch the year increases from 1 upwards as time goes backwards. 107 * <li>proleptic-year - The proleptic year is the same as the year-of-era for the 109 * <li>month-of-year - There are 12 months in an ISO year, numbered from 1 to 12 516 Long year = fieldValues.get(YEAR); local [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/ |
TimeDate.c | 120 TheTime.Year = 0xFFFF;
145 TheTime.Year = (UINT16)ShellStrToUintn (Walker);
149 if (TheTime.Year < 100) {
150 if (TheTime.Year >= 98) {
151 TheTime.Year = (UINT16)(1900 + TheTime.Year);
153 TheTime.Year = (UINT16)(2000 + TheTime.Year);
240 ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_DATE_SFO_FORMAT), gShellLevel2HiiHandle, TheTime.Day, TheTime.Month, TheTime.Year);
242 ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_DATE_FORMAT), gShellLevel2HiiHandle, TheTime.Month, TheTime.Day, TheTime.Year);
[all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
CopticDate.java | 71 import java.time.Year; 102 * The proleptic year. 143 * @param prolepticYear the Coptic proleptic-year 199 case YEAR: 201 ValueRange.of(1, Year.MAX_VALUE + 1) : ValueRange.of(1, Year.MAX_VALUE)); // TODO 224 case YEAR: return prolepticYear; 249 case YEAR: return resolvePreviousValid(nvalue, month, day); 330 long year = (long) prolepticYear; local 331 long copticEpochDay = ((year - 1) * 365) + Math.floorDiv(year, 4) + (get(ChronoField.DAY_OF_YEAR) - 1) [all...] |
/device/linaro/bootloader/edk2/ArmVirtPkg/Library/XenRealTimeClockLib/ |
XenRealTimeClockLib.c | 62 Time->Year = y - 4800 + ((m + 2) / 12);
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/Common/ |
UefiBaseTypes.h | 49 // Year: 2000 - 20XX
59 UINT16 Year;
|
/external/syslinux/efi32/include/efi/ |
efidef.h | 78 UINT16 Year; // 1998 - 20XX
|
/external/syslinux/efi64/include/efi/ |
efidef.h | 78 UINT16 Year; // 1998 - 20XX
|
/external/syslinux/gnu-efi/gnu-efi-3.0/inc/ |
efidef.h | 78 UINT16 Year; // 1998 - 20XX
|
/external/syslinux/gpxe/src/include/gpxe/efi/Uefi/ |
UefiBaseType.h | 53 /// Year: 1998 - 20XX 63 UINT16 Year;
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DisplayEngineDxe/ |
InputHandler.c | 316 like: Year change: 2012.02.29 -> 2013.02.29 -> 2013.02.01
329 UINT16 Year;
334 Year = QuestionValue->Value.date.Year;
339 if ((Year % 4) == 0 && ((Year % 100) != 0 || (Year % 400) == 0)) {
366 // Change the Year area.
559 if ((QuestionValue->Value.date.Year % 4) == 0 &&
560 ((QuestionValue->Value.date.Year % 100) != 0 || [all...] |
/libcore/luni/src/test/java/libcore/java/time/ |
DurationTest.java | 24 import java.time.Year; 132 Year.now(),
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
TestJapaneseChronology.java | 87 { ChronoField.YEAR, 1873, 1873, 999999999, 999999999}, 108 { JapaneseEra.HEISEI, Year.MAX_VALUE, 12, 31 }, 127 { JapaneseEra.HEISEI, Year.MAX_VALUE }, 186 int year = JAPANESE.prolepticYear(era, yearOfEra); local 187 System.out.printf("No DateTimeException with era=%s, year=%d%n", era, yearOfEra); 193 System.out.printf("No DateTimeException with era=%s, year=%d, dayOfYear=%d%n", era, yearOfEra, dayOfYear);
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
TestDateTimeFormatter.java | 77 import java.time.Year; 129 assertGoodErrorTime(Year::from, "Year"); 153 assertTrue(msg.contains("Year"), msg);
|
/prebuilts/go/darwin-x86/src/time/ |
zoneinfo_windows_test.go | 16 t1 = Date(t1.Year(), t1.Month(), t1.Day(), t1.Hour(), t1.Minute(), t1.Second(), 0, t1.Location())
|
/prebuilts/go/linux-x86/src/time/ |
zoneinfo_windows_test.go | 16 t1 = Date(t1.Year(), t1.Month(), t1.Day(), t1.Hour(), t1.Minute(), t1.Second(), 0, t1.Location())
|
/device/linaro/bootloader/edk2/SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/ |
Pkcs7VerifyDxe.c | 318 if ((Time->Year == 0) && (Time->Month == 0) && (Time->Day == 0) &&
342 if (SigningTime->Year != RevocationTime->Year) {
343 return (BOOLEAN) (SigningTime->Year < RevocationTime->Year);
[all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/ |
EfiTypes.h | 128 // Year: 2000 - 20XX
138 UINT16 Year;
|