/libcore/ojluni/src/test/java/time/tck/java/time/ |
TCKMonth.java | 68 import java.time.Month; 87 * Test Month. 97 TemporalAccessor[] array = {Month.JANUARY, Month.JUNE, Month.DECEMBER, }; 123 Month test = Month.of(i); 130 Month.of(0); 135 Month.of(13); 141 assertEquals(Month.from(LocalDate.of(2011, 6, 6)), Month.JUNE) [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/zone/ |
TCKZoneOffsetTransitionRule.java | 67 import java.time.Month; 99 Month.MARCH, 20, DayOfWeek.SUNDAY, null, false, TimeDefinition.WALL, 106 Month.MARCH, 20, DayOfWeek.SUNDAY, TIME_0100, false, null, 113 Month.MARCH, 20, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, 120 Month.MARCH, 20, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, 127 Month.MARCH, 20, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, 134 Month.MARCH, -29, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, 141 Month.MARCH, 0, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, 148 Month.MARCH, 32, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, 155 Month.MARCH, 20, DayOfWeek.SUNDAY, TIME_0100, true, TimeDefinition.WALL [all...] |
/libcore/luni/src/test/java/libcore/java/time/ |
YearMonthTest.java | 20 import java.time.Month; 41 YearMonth ym = YearMonth.of(2000, Month.JANUARY); 43 YearMonth bceYm = YearMonth.of(-1999, Month.JANUARY); 45 assertEquals(YearMonth.of(1000, Month.JANUARY), ym.with(ChronoField.YEAR, 1000)); 46 assertEquals(YearMonth.of(-1, Month.JANUARY), ym.with(ChronoField.YEAR, -1)); 47 assertEquals(YearMonth.of(2000, Month.FEBRUARY), ym.with(ChronoField.MONTH_OF_YEAR, 2)); 48 assertEquals(YearMonth.of(-1999, Month.DECEMBER), 55 assertEquals(YearMonth.of(1, Month.JANUARY), ym.with(ChronoField.YEAR_OF_ERA, 1)); 57 assertEquals(YearMonth.of(0, Month.JANUARY), bceYm.with(ChronoField.YEAR_OF_ERA, 1)); 58 assertEquals(YearMonth.of(0, Month.JANUARY), ym.with(ChronoField.PROLEPTIC_MONTH, 0)) [all...] |
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
TCKTemporalAdjusters.java | 64 import static java.time.Month.DECEMBER; 65 import static java.time.Month.JANUARY; 74 import java.time.Month; 112 for (Month month : Month.values()) { 113 for (int i = 1; i <= month.length(false); i++) { 114 LocalDate date = date(2007, month, i); 117 assertEquals(test.getMonth(), month); local 125 for (Month month : Month.values()) 130 assertEquals(test.getMonth(), month); local 151 assertEquals(test.getMonth(), month); local 164 assertEquals(test.getMonth(), month); local [all...] |
/external/pdfium/xfa/fxfa/parser/ |
cxfa_month.cpp | 11 constexpr wchar_t kName[] = L"month"; 20 XFA_Element::Month,
|
cxfa_monthnames.cpp | 11 const CXFA_Node::PropertyData kPropertyData[] = {{XFA_Element::Month, 12, 0},
|
/libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/ |
TCKZoneOffsetTransitionRuleSerialization.java | 64 import java.time.Month; 89 Month.MARCH, 20, null, TIME_0100, false, TimeDefinition.STANDARD, 99 Month.MARCH, 20, DayOfWeek.FRIDAY, LocalTime.MIDNIGHT, true, TimeDefinition.UTC, 107 Month.MARCH, 20, DayOfWeek.WEDNESDAY, LocalTime.of(13, 34, 56), false, TimeDefinition.STANDARD, 115 Month.MARCH, 20, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, 123 Month.MARCH, -1, DayOfWeek.SUNDAY, TIME_0100, false, TimeDefinition.WALL, 131 Month.MARCH, 20, null, TIME_0100, false, TimeDefinition.WALL,
|
/libcore/ojluni/src/main/java/java/time/ |
Month.java | 83 * A month-of-year, such as 'July'. 85 * {@code Month} is an enum representing the 12 months of the year - 89 * In addition to the textual enum name, each month-of-year has an {@code int} value. 94 * <b>Do not use {@code ordinal()} to obtain the numeric representation of {@code Month}. 98 * As such, this enum may be used by any calendar system that has the month-of-year 106 public enum Month implements TemporalAccessor, TemporalAdjuster { 109 * The singleton instance for the month of January with 31 days. 114 * The singleton instance for the month of February with 28 days, or 29 in a leap year. 119 * The singleton instance for the month of March with 31 days. 124 * The singleton instance for the month of April with 30 days [all...] |
/libcore/luni/src/test/java/libcore/java/time/zone/ |
ZoneOffsetTransitionTest.java | 20 import java.time.Month; 36 LocalDateTime time = LocalDateTime.of(2000, Month.JANUARY, 1, 0, 0);
|
IcuZoneRulesProviderTest.java | 28 import java.time.Month; 70 LocalDateTime.of(1900, Month.DECEMBER, 24, 12, 0).toInstant(ZoneOffset.UTC), 71 LocalDateTime.of(1970, Month.JANUARY, 1, 2, 3).toInstant(ZoneOffset.UTC), 72 LocalDateTime.of(1980, Month.FEBRUARY, 4, 5, 6).toInstant(ZoneOffset.UTC), 73 LocalDateTime.of(1990, Month.MARCH, 7, 8, 9).toInstant(ZoneOffset.UTC), 74 LocalDateTime.of(2000, Month.APRIL, 10, 11, 12).toInstant(ZoneOffset.UTC), 75 LocalDateTime.of(2016, Month.MAY, 13, 14, 15).toInstant(ZoneOffset.UTC), 76 LocalDateTime.of(2020, Month.JUNE, 16, 17, 18).toInstant(ZoneOffset.UTC), 77 LocalDateTime.of(2100, Month.JULY, 19, 20, 21).toInstant(ZoneOffset.UTC), 123 final Instant start = LocalDateTime.of(1900, Month.JANUARY, 1, 12, 0 [all...] |
ZoneRulesTest.java | 22 import java.time.Month; 50 LocalDateTime.of(2000, Month.JANUARY, 1, 1, 1).toInstant(ZoneOffset.UTC),
|
/device/linaro/bootloader/OpenPlatformPkg/Library/EfiTimeBaseLib/ |
EfiTimeBaseLib.c | 54 Time->Day > DayOfMonth[Time->Month - 1] ||
55 (Time->Month == 2 && (!IsLeapYear (Time) && Time->Day > 28))
72 (Time->Month < 1 ) ||
73 (Time->Month > 12 ) ||
129 Time->Month = ((m + 2) % 12) + 1;
160 a = (14 - Time->Month) / 12 ;
162 m = Time->Month + (12*a) - 3;
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Library/RealTimeClockLib/ |
RealTimeClockLib.c | 85 Time->Month = RtcInfo.Month;
122 RtcInfo.Month = Time->Month;
|
/device/linaro/bootloader/edk2/EmulatorPkg/RealTimeClockRuntimeDxe/ |
RealTimeClock.c | 253 Time->Month < 1 ||
254 Time->Month > 12 ||
278 Time->Day > DayOfMonth[Time->Month - 1] ||
279 (Time->Month == 2 && (!IsLeapYear (Time) && Time->Day > 28))
|
/device/linaro/bootloader/edk2/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/ |
PcRtc.c | 18 // Days of month.
172 Time.Month = RtcRead (RTC_ADDRESS_MONTH);
228 Time.Month = RTC_INIT_MONTH;
261 Time.Month = RTC_INIT_MONTH;
390 Time->Month = RtcRead (RTC_ADDRESS_MONTH);
540 RtcWrite (RTC_ADDRESS_MONTH, RtcTime.Month);
633 Time->Month = RtcRead (RTC_ADDRESS_MONTH);
654 Time->Month = RtcTime.Month;
768 RtcTime.Month = RtcRead (RTC_ADDRESS_MONTH); [all...] |
/device/linaro/bootloader/edk2/FatPkg/EnhancedFatDxe/ |
Misc.c | 496 FTime->Date.Month = ETime->Month;
518 ETime->Month = (UINT8) FTime->Date.Month;
549 Now.Month = 1;
580 Time->Month < 1 ||
581 Time->Month > 12 ||
594 // Perform a more specific check of the day of the month
596 Day = mMonthDays[Time->Month - 1];
597 if (Time->Month == 2 && IS_LEAP_YEAR (Time->Year)) { [all...] |
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/HalRuntimeServicesExampleLib/ |
Rtc.c | 162 Time->Day > mDayOfMonth[Time->Month - 1] ||
163 (Time->Month == 2 && (!IsLeapYear (Time) && Time->Day > 28))
236 Time->Month = DecimaltoBcd (Time->Month);
265 (Time->Month < 1 ) ||
266 (Time->Month > 12 ) ||
343 Time->Month = BcdToDecimal (Time->Month);
445 Time->Month = RtcRead (RTC_ADDRESS_MONTH);
547 RtcWrite (RTC_ADDRESS_MONTH, RtcTime.Month);
[all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/SmbiosView/ |
EventLogInfo.h | 26 UINT8 Month;
|
/device/linaro/bootloader/edk2/UefiCpuPkg/Include/Register/ |
Microcode.h | 33 UINT32 Month:8;
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/Guid/ |
FirmwareId.h | 52 CHAR8 Month[2];
|
/device/linaro/bootloader/edk2/StdLib/LibC/Time/ |
TimeEfi.c | 35 BT->tm_mon = ET->Month - 1; // BD time is zero based, EFI is 1 based
74 ET->Month = (UINT8)BT->tm_mon + 1;
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/PlatformDxe/ |
Rtc.c | 124 // Month
144 EfiTime.Month = (UINT8)(CharToUint(mBiosReleaseDate[0])*10 + CharToUint(mBiosReleaseDate[1]));
150 DEBUG ((EFI_D_INFO, "Day:%d Month:%d Year:%d \n", (UINT32)EfiTime.Day, (UINT32)EfiTime.Month, (UINT32)EfiTime.Year));
|
/libcore/luni/src/test/java/libcore/java/time/format/ |
DateTimeFormatterBuilderTest.java | 21 import java.time.Month; 47 assertEquals("<2000-12-31>", formatter.format(LocalDate.of(2000, Month.DECEMBER, 31)));
|
/device/linaro/bootloader/edk2/Nt32Pkg/RealTimeClockRuntimeDxe/ |
RealTimeClock.c | 96 Time->Month = (UINT8) SystemTime.wMonth;
171 SystemTime.wMonth = Time->Month;
315 Time->Month < 1 ||
316 Time->Month > 12 ||
355 Time->Day > DayOfMonth[Time->Month - 1] ||
356 (Time->Month == 2 && (!IsLeapYear (Time) && Time->Day > 28))
|
/device/linaro/bootloader/edk2/Omap35xxPkg/Library/RealTimeClockLib/ |
RealTimeClockLib.c | 80 Time->Month = ((Data >> 4) & 0x1) * 10 + (Data & 0xF);
142 || (Time->Month < 1 || Time->Month > 12)
143 || (Time->Day < 1 || Time->Day > MonthDayCount[Time->Month])
159 Data = ((Time->Month / 10) << 4) | (Time->Month % 10);
|