/prebuilts/go/linux-x86/src/time/ |
time_test.go | 35 Month Month 75 year, month, day := t.Date() 78 if year != u.Year || month != u.Month || day != u.Day || 85 t.Month() == u.Month && 375 month, day int // month and day 419 dt := Date(wt.year, Month(wt.month), wt.day, 0, 0, 0, 0, UTC [all...] |
time.go | 51 // determine the minute, hour, month, day, and year 83 // A Month specifies a month of the year (January = 1, ...). 84 type Month int 87 January Month = 1 + iota 116 // String returns the English name of the month ("January", "February", ...). 117 func (m Month) String() string { 123 return "%!Month(" + string(buf[n:]) + ")" 171 // The presentation computations - year, month, minute, and so on - all 257 // It is called when computing a presentation property like Month or Hour [all...] |
format_test.go | 58 {"Janet", "Hi Janet, the Month is January", "Hi Janet, the Month is February"}, 161 // Month and day names only match when not followed by a lower-case letter. 162 {"Janet", "Hi Janet, the Month is January: Jan _2 15:04:05 2006", "Hi Janet, the Month is February: Feb 4 21:00:57 2010", false, true, 1, 0}, 325 if time.Month() != February { 326 t.Errorf("%s: bad month: %s not %s", test.name, time.Month(), February)
|
/libcore/ojluni/src/main/java/java/time/ |
LocalDate.java | 110 * often viewed as year-month-day. Other date fields, such as day-of-year, 165 * The month-of-year. 167 private final short month; field in class:LocalDate 169 * The day-of-month. 227 * Obtains an instance of {@code LocalDate} from a year, month and day. 229 * This returns a {@code LocalDate} with the specified year, month and day-of-month. 230 * The day must be valid for the year and month, otherwise an exception will be thrown. 233 * @param month the month-of-year to represent, not nul 330 int month = (marchMonth0 + 2) % 12 + 1; local 2071 int month = in.readByte(); local [all...] |
YearMonth.java | 104 * A year-month in the ISO-8601 calendar system, such as {@code 2007-12}. 107 * of a year and month. Any field that can be derived from a year and month, such as 146 * The month-of-year, not null. 148 private final int month; field in class:YearMonth 152 * Obtains the current year-month from the system clock in the default time-zone. 155 * time-zone to obtain the current year-month. 160 * @return the current year-month using the system clock and default time-zone, not null 167 * Obtains the current year-month from the system clock in the specified time-zone. 169 * This will query the {@link Clock#system(ZoneId) system clock} to obtain the current year-month [all...] |
/libcore/ojluni/src/test/java/time/test/java/time/ |
TestLocalDate.java | 68 import java.time.Month; 102 if (date.getMonth() == Month.DECEMBER) { 114 if (date.getMonth() == Month.DECEMBER) {
|
TestOffsetDateTime_instants.java | 68 import java.time.Month; 102 assertEquals(test.getMonth(), Month.JANUARY); 271 // assertEquals(cal.get(GregorianCalendar.MONTH), expected.getMonth().getValue() - 1);
|
/prebuilts/go/darwin-x86/src/time/ |
time.go | 51 // determine the minute, hour, month, day, and year 83 // A Month specifies a month of the year (January = 1, ...). 84 type Month int 87 January Month = 1 + iota 116 // String returns the English name of the month ("January", "February", ...). 117 func (m Month) String() string { 123 return "%!Month(" + string(buf[n:]) + ")" 171 // The presentation computations - year, month, minute, and so on - all 257 // It is called when computing a presentation property like Month or Hour [all...] |
format_test.go | 58 {"Janet", "Hi Janet, the Month is January", "Hi Janet, the Month is February"}, 161 // Month and day names only match when not followed by a lower-case letter. 162 {"Janet", "Hi Janet, the Month is January: Jan _2 15:04:05 2006", "Hi Janet, the Month is February: Feb 4 21:00:57 2010", false, true, 1, 0}, 325 if time.Month() != February { 326 t.Errorf("%s: bad month: %s not %s", test.name, time.Month(), February)
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Include/ |
EfiTypes.h | 129 // Month: 1 - 12
139 UINT8 Month;
|
/device/linaro/bootloader/edk2/MdePkg/Include/Uefi/ |
UefiBaseType.h | 64 /// Month: 1 - 12
74 UINT8 Month;
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
TCKLocalDate.java | 98 import java.time.Month; 281 assertEquals(test.getMonth(), Month.JANUARY); 293 assertEquals(test.getMonth(), Month.JANUARY); 305 assertEquals(test.getMonth(), Month.DECEMBER); 342 assertEquals(TEST_2007_07_15, LocalDate.of(2007, Month.JULY, 15)); 347 LocalDate.of(2007, Month.FEBRUARY, 29); 352 LocalDate.of(2007, Month.APRIL, 31); 357 LocalDate.of(2007, Month.JANUARY, 0); 362 LocalDate.of(2007, Month.JANUARY, 32); 372 LocalDate.of(Integer.MIN_VALUE, Month.JANUARY, 1) [all...] |
TCKYearMonth.java | 88 import java.time.Month; 217 assertEquals(test.getMonth(), Month.DECEMBER); 228 YearMonth test = YearMonth.of(2008, Month.FEBRUARY); 234 YearMonth.of(Year.MIN_VALUE - 1, Month.JANUARY); 239 YearMonth.of(Year.MAX_VALUE + 1, Month.JANUARY); 525 assertEquals(a.getMonth(), Month.of(m)); 551 // with(Month) 556 assertEquals(test.with(Month.JANUARY), YearMonth.of(2008, 1)); 562 assertEquals(test.with(Month.JUNE), test); 568 test.with((Month) null) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
mpeg2structs.h | 179 BYTE Month;
|
poclass.h | 176 UCHAR Month; 324 UINT8 Month;
|
/prebuilts/go/darwin-x86/src/log/ |
log_test.go | 132 now.Year(), now.Month(), now.Day(), now.Hour(), now.Minute(), now.Second()) 141 now.Year(), now.Month(), now.Day(), now.Hour(), now.Minute(), now.Second()) 167 itoa(&dst, 1, 2) // month
|
/prebuilts/go/linux-x86/src/log/ |
log_test.go | 132 now.Year(), now.Month(), now.Day(), now.Hour(), now.Minute(), now.Second()) 141 now.Year(), now.Month(), now.Day(), now.Hour(), now.Minute(), now.Second()) 167 itoa(&dst, 1, 2) // month
|
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/ |
HiiLib.h | 454 Returns a UINT64 value that contains bit fields for Year, Month, and Day.
455 The lower 16-bits of Year are placed in bits 0..15. The lower 8-bits of Month
461 @param Month The month value to be encoded.
464 @return A 64-bit containing Year, Month, and Day.
466 #define EFI_HII_DATE_UINT64(Year, Month, Day) \
467 (UINT64)((Year & 0xffff) | ((Month & 0xff) << 16) | ((Day & 0xff) << 24))
[all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DisplayEngineDxe/ |
InputHandler.c | 317 Month change: 2013.03.29 -> 2013.02.29 -> 2013.02.28
328 UINT8 Month;
333 Month = QuestionValue->Value.date.Month;
337 switch (Month) {
357 // Change the month area.
553 EditValue = QuestionValue->Value.date.Month;
557 switch (QuestionValue->Value.date.Month) {
837 // Month/Day
934 QuestionValue->Value.date.Month = (UINT8) EditValue; [all...] |
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel2CommandsLib/ |
Ls.c | 191 TheNode->Info->CreateTime.Month,
197 TheNode->Info->LastAccessTime.Month,
203 TheNode->Info->ModificationTime.Month,
|
TimeDate.c | 118 TheTime.Month = 0xFF;
127 TheTime.Month = (UINT8)ShellStrToUintn (Walker);
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);
|
/build/soong/third_party/zip/ |
struct.go | 152 // date bits 0-4: day of month; 5-8: month; 9-15: years since 1980 154 time.Month(dosDate>>5&0xf), 172 fDate = uint16(t.Day() + int(t.Month())<<5 + (t.Year()-1980)<<9)
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Include/ |
EfiInternalFormRepresentation.h | 250 EFI_IFR_NUMERIC Month;
|
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/Host/ |
EmuThunk.c | 366 Time->Month = tm->tm_mon + 1;
|
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Include/Framework/ |
FrameworkInternalFormRepresentation.h | 239 FRAMEWORK_EFI_IFR_NUMERIC Month;
|