Home
last modified time | relevance | path

Searched refs:Year (Results 1 – 25 of 82) sorted by relevance

1234

/external/rust/crates/chrono/src/format/
Dparse.rs300 Year => (4, true, Parsed::set_year), in parse_internal()
463 Item::Numeric(Numeric::Year, Pad::Zero), in from_str()
550 check!("1987", [num!(Year)]; year: 1987); in test_parse()
551 check!("1987 ", [num!(Year)]; TOO_LONG); in test_parse()
552 check!("0x12", [num!(Year)]; TOO_LONG); // `0` is parsed in test_parse()
553 check!("x123", [num!(Year)]; INVALID); in test_parse()
554 check!("2015", [num!(Year)]; year: 2015); in test_parse()
555 check!("0000", [num!(Year)]; year: 0); in test_parse()
556 check!("9999", [num!(Year)]; year: 9999); in test_parse()
557 check!(" \t987", [num!(Year)]; year: 987); in test_parse()
[all …]
Dstrftime.rs195 num0!(Year),
356 'F' => recons![num0!(Year), lit!("-"), num0!(Month), lit!("-"), num0!(Day)], in next()
369 'Y' => num0!(Year), in next()
397 recons![nums!(Day), lit!("-"), fix!(ShortMonthName), lit!("-"), num0!(Year)] in next()
509 [num0!(Year), lit!("-"), num0!(Month), lit!("-"), num0!(Day)] in test_strftime_items()
Dmod.rs85 Year, enumerator
469 Year => (4, date.map(|d| i64::from(d.year()))), in format_inner()
504 if (spec == &Year || spec == &IsoYear) && !(0 <= v && v < 10_000) { in format_inner()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/Shared/TPMDevice/src/
DStmUtil.c79 date.Year + 2000, in GetLogStamp()
100 date.Year = local->tm_year - 100; in SetRealTimeClock()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Drivers/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rtc.c631 assert_param(IS_RTC_YEAR(sDate->Year)); in HAL_RTC_SetDate()
635 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << 16) | \ in HAL_RTC_SetDate()
642 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate()
648 datetmpreg = ((((uint32_t)sDate->Year) << 16) | \ in HAL_RTC_SetDate()
732 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> 16); in HAL_RTC_GetDate()
741 sDate->Year = (uint8_t)RTC_Bcd2ToByte(sDate->Year); in HAL_RTC_GetDate()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Drivers/STM32L4xx_HAL_Driver/Src/
Dstm32l4xx_hal_rtc.c631 assert_param(IS_RTC_YEAR(sDate->Year)); in HAL_RTC_SetDate()
635 datetmpreg = (((uint32_t)RTC_ByteToBcd2(sDate->Year) << 16) | \ in HAL_RTC_SetDate()
642 assert_param(IS_RTC_YEAR(RTC_Bcd2ToByte(sDate->Year))); in HAL_RTC_SetDate()
648 datetmpreg = ((((uint32_t)sDate->Year) << 16) | \ in HAL_RTC_SetDate()
732 sDate->Year = (uint8_t)((datetmpreg & (RTC_DR_YT | RTC_DR_YU)) >> 16); in HAL_RTC_GetDate()
741 sDate->Year = (uint8_t)RTC_Bcd2ToByte(sDate->Year); in HAL_RTC_GetDate()
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/Shared/
Dsyscalls.c87 local.tm_year = date.Year + 100; in _gettimeofday()
252 local.tm_year = date.Year + 100; in _times()
/external/libtextclassifier/native/utils/calendar/
Dcalendar-javaicu.cc198 TC3_DEFINE_ADD(Year, year)
203 TC3_DEFINE_SET(Year, year)
/external/libtextclassifier/native/annotator/datetime/
Ddatetime.fbs35 // Year of the date seen in the text match.
96 // Year value of the date seen in the text match.
/external/libxml2/result/
Dp3p.sax23 SAX.startElement(REF, name='Bdate.Year', optional='1')
/external/one-true-awk/testdir/
Dfunstack.awk665 label = Volume "(" Number "):" Month ":" Year
970 return ("Volume " wrap(Volume) ", Number " wrap(Number) ", " wrap(Month) ", " wrap(Year))
/external/icu/icu4c/source/data/locales/
Dqu.txt832 dn{"Day Of Year"}
835 dn{"Day Of Year"}
838 dn{"Day Of Year"}
1426 dn{"Year"}
1442 dn{"Year"}
1453 dn{"Year"}
Dshi.txt92 Year{"{1} {0}"}
Dkhq.txt94 Year{"{1} {0}"}
Dses.txt94 Year{"{1} {0}"}
Dmfe.txt82 Year{"{1} {0}"}
Dbm.txt84 Year{"{1} {0}"}
Dshi_Latn.txt94 Year{"{1} {0}"}
Dff.txt95 Year{"{1} {0}"}
Dsg.txt93 Year{"{1} {0}"}
/external/cldr/tools/java/org/unicode/cldr/util/data/external/
Dun_literacy.csv3 Country or area,Year,,Adult (15+) literacy rate,,,,,, Youth (15-24) literacy rate,,,,
/external/python/cpython2/Doc/library/
Dtime.rst26 .. index:: single: Year 2038
33 single: Year 2000
38 * **Year 2000 (Y2K) issues**: Python depends on the platform's C library, which
321 | ``%y`` | Year without century as a | |
324 | ``%Y`` | Year with century as a decimal | |
429 [0, 11]. A year value will be handled as described under :ref:`Year 2000
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L4A6RG/Src/
Dmain.c287 sDate.Year = 0; in MX_RTC_Init()
/external/python/dateutil/
DREADME.rst111 >>> print("Year with next Aug 13th on a Friday is: %s" % year)
112 Year with next Aug 13th on a Friday is: 2004
/external/ms-tpm-20-ref/Samples/Nucleo-TPM/L476RG/Src/
Dmain.c294 sDate.Year = 0; in MX_RTC_Init()

1234