/kernel/linux/linux-5.10/tools/testing/selftests/rtc/ |
H A D | setdate.c | 25 const char *rtc, *date; in main() local 33 date = argv[2]; in main() 47 sscanf(date, "%d-%d-%d", &new.tm_mday, &new.tm_mon, &new.tm_year); in main() 52 fprintf(stderr, "Test will set RTC date/time to %d-%d-%d, %02d:%02d:%02d.\n", in main() 56 /* Write the new date in RTC */ in main() 71 fprintf(stderr, "\n\nCurrent RTC date/time is %d-%d-%d, %02d:%02d:%02d.\n", in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/rtc/ |
H A D | setdate.c | 25 const char *rtc, *date; in main() local 33 date = argv[2]; in main() 47 sscanf(date, "%d-%d-%d", &new.tm_mday, &new.tm_mon, &new.tm_year); in main() 52 fprintf(stderr, "Test will set RTC date/time to %d-%d-%d, %02d:%02d:%02d.\n", in main() 56 /* Write the new date in RTC */ in main() 71 fprintf(stderr, "\n\nCurrent RTC date/time is %d-%d-%d, %02d:%02d:%02d.\n", in main()
|
/third_party/alsa-utils/bat/tests/ |
H A D | alsabat_main.sh | 23 Day=`date +"%Y-%m-%d-%H-%M"` 87 Date=`date` 166 date
|
/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | basictz.h | 134 * represented by <code>AnnualTimeZoneRule</code> with <code>DateTimeRule::DOW</code> for its date 141 * @param date The date used for extracting time zone rules. 145 * specified date, NULL is set. 148 * around the specified date, NULL is set. 152 virtual void getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial, 160 UDate date, UTimeZoneLocalOption nonExistingTimeOpt, 181 void getOffsetFromLocal(UDate date, int32_t nonExistingTimeOpt, int32_t duplicatedTimeOpt, 228 * @param start The start date used for extracting time zone rules
|
H A D | gregocal.h | 20 * 10/15/99 aliu Fixed j32, cannot set date to Feb 29 2000 AD. 50 * the date the Gregorian calendar was originally instituted (October 15, 1582). Not all 51 * countries adopted the Gregorian calendar then, so this cutover date may be changed by 98 * // and the current date and time 235 * Constructs a GregorianCalendar with the given AD date set in the default time 241 * @param date The value used to set the DATE time field in the calendar. 246 GregorianCalendar(int32_t year, int32_t month, int32_t date, UErrorCode& success); 249 * Constructs a GregorianCalendar with the given AD date and time set for the 255 * @param date The value used to set the DATE time field in the calendar. 262 GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_ [all...] |
/third_party/node/deps/icu-small/source/i18n/unicode/ |
H A D | basictz.h | 134 * represented by <code>AnnualTimeZoneRule</code> with <code>DateTimeRule::DOW</code> for its date 141 * @param date The date used for extracting time zone rules. 145 * specified date, nullptr is set. 148 * around the specified date, nullptr is set. 152 virtual void getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial, 160 UDate date, UTimeZoneLocalOption nonExistingTimeOpt, 181 void getOffsetFromLocal(UDate date, int32_t nonExistingTimeOpt, int32_t duplicatedTimeOpt, 228 * @param start The start date used for extracting time zone rules
|
H A D | gregocal.h | 20 * 10/15/99 aliu Fixed j32, cannot set date to Feb 29 2000 AD. 50 * the date the Gregorian calendar was originally instituted (October 15, 1582). Not all 51 * countries adopted the Gregorian calendar then, so this cutover date may be changed by 98 * // and the current date and time 235 * Constructs a GregorianCalendar with the given AD date set in the default time 241 * @param date The value used to set the DATE time field in the calendar. 246 GregorianCalendar(int32_t year, int32_t month, int32_t date, UErrorCode& success); 249 * Constructs a GregorianCalendar with the given AD date and time set for the 255 * @param date The value used to set the DATE time field in the calendar. 262 GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_ [all...] |
/third_party/node/deps/npm/node_modules/@sigstore/verify/dist/trust/ |
H A D | index.js | 69 validFor: (date) => { 70 return ((key.validFor?.start || BEGINNING_OF_TIME) <= date && 71 (key.validFor?.end || END_OF_TIME) >= date);
|
/third_party/icu/icu4c/source/samples/datefmt/answers/ |
H A D | main_3.cpp | 46 UDate date; in main() local 48 // The languages in which we will display the date in main() 70 date = cal->getTime(status); in main() 85 // Format the date in main() 87 fmt->format(date, str, status); in main() 89 // Display the formatted date string in main()
|
/third_party/icu/icu4c/source/samples/datefmt/ |
H A D | main.cpp | 48 UDate date; in main() local 50 // The languages in which we will display the date in main() 72 date = cal->getTime(status); in main() 87 // Format the date in main() 89 fmt->format(date, str, status); in main() 91 // Display the formatted date string in main()
|
/third_party/python/Lib/sqlite3/ |
H A D | dbapi2.py | 33 Date = datetime.date 62 return datetime.date(*map(int, val.split(b"-"))) 78 register_adapter(datetime.date, adapt_date) 80 register_converter("date", convert_date)
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/data/ |
H A D | FontOutputStream.java | 208 * @param date date/time value 211 public void writeDateTime(long date) throws IOException { in writeDateTime() argument 212 this.writeULong((date >> 32) & 0xffffffff); in writeDateTime() 213 this.writeULong(date & 0xffffffff); in writeDateTime()
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
H A D | basictz.h | 134 * represented by <code>AnnualTimeZoneRule</code> with <code>DateTimeRule::DOW</code> for its date 141 * @param date The date used for extracting time zone rules. 145 * specified date, NULL is set. 148 * around the specified date, NULL is set. 152 virtual void getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial, 161 UDate date, UTimeZoneLocalOption nonExistingTimeOpt, 183 void getOffsetFromLocal(UDate date, int32_t nonExistingTimeOpt, int32_t duplicatedTimeOpt, 228 * @param start The start date used for extracting time zone rules
|
H A D | gregocal.h | 20 * 10/15/99 aliu Fixed j32, cannot set date to Feb 29 2000 AD. 50 * the date the Gregorian calendar was originally instituted (October 15, 1582). Not all 51 * countries adopted the Gregorian calendar then, so this cutover date may be changed by 98 * // and the current date and time 235 * Constructs a GregorianCalendar with the given AD date set in the default time 241 * @param date The value used to set the DATE time field in the calendar. 246 GregorianCalendar(int32_t year, int32_t month, int32_t date, UErrorCode& success); 249 * Constructs a GregorianCalendar with the given AD date and time set for the 255 * @param date The value used to set the DATE time field in the calendar. 262 GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_ [all...] |
/third_party/skia/third_party/externals/icu/source/samples/datefmt/answers/ |
H A D | main_3.cpp | 46 UDate date; in main() local 48 // The languages in which we will display the date in main() 70 date = cal->getTime(status); in main() 85 // Format the date in main() 87 fmt->format(date, str, status); in main() 89 // Display the formatted date string in main()
|
/third_party/skia/third_party/externals/icu/source/samples/datefmt/ |
H A D | main.cpp | 48 UDate date; in main() local 50 // The languages in which we will display the date in main() 72 date = cal->getTime(status); in main() 87 // Format the date in main() 89 fmt->format(date, str, status); in main() 91 // Display the formatted date string in main()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | rbtz.cpp | 255 // Check if one of final rules has earlier transition date in complete() 397 RuleBasedTimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, in getOffset() argument 399 getOffsetInternal(date, local, kFormer, kLatter, rawOffset, dstOffset, status); in getOffset() 402 void RuleBasedTimeZone::getOffsetFromLocal(UDate date, UTimeZoneLocalOption nonExistingTimeOpt, in getOffsetFromLocal() argument 405 getOffsetInternal(date, true, nonExistingTimeOpt, duplicatedTimeOpt, rawOffset, dstOffset, status); in getOffsetFromLocal() 413 RuleBasedTimeZone::getOffsetInternal(UDate date, UBool local, in getOffsetInternal() argument 436 if (date < tstart) { in getOffsetInternal() 442 if (date > tend) { in getOffsetInternal() 444 rule = findRuleInFinal(date, local, NonExistingTimeOpt, DuplicatedTimeOpt); in getOffsetInternal() 454 if (date > in getOffsetInternal() 509 inDaylightTime(UDate date, UErrorCode& status) const inDaylightTime() argument 667 findRuleInFinal(UDate date, UBool local, int32_t NonExistingTimeOpt, int32_t DuplicatedTimeOpt) const findRuleInFinal() argument [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | rbtz.cpp | 255 // Check if one of final rules has earlier transition date in complete() 397 RuleBasedTimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, in getOffset() argument 399 getOffsetInternal(date, local, kFormer, kLatter, rawOffset, dstOffset, status); in getOffset() 402 void RuleBasedTimeZone::getOffsetFromLocal(UDate date, UTimeZoneLocalOption nonExistingTimeOpt, in getOffsetFromLocal() argument 405 getOffsetInternal(date, true, nonExistingTimeOpt, duplicatedTimeOpt, rawOffset, dstOffset, status); in getOffsetFromLocal() 413 RuleBasedTimeZone::getOffsetInternal(UDate date, UBool local, in getOffsetInternal() argument 436 if (date < tstart) { in getOffsetInternal() 442 if (date > tend) { in getOffsetInternal() 444 rule = findRuleInFinal(date, local, NonExistingTimeOpt, DuplicatedTimeOpt); in getOffsetInternal() 454 if (date > in getOffsetInternal() 509 inDaylightTime(UDate date, UErrorCode& status) const inDaylightTime() argument 667 findRuleInFinal(UDate date, UBool local, int32_t NonExistingTimeOpt, int32_t DuplicatedTimeOpt) const findRuleInFinal() argument [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | rbtz.cpp | 247 // Check if one of final rules has earlier transition date in complete() 401 RuleBasedTimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, in getOffset() argument 403 getOffsetInternal(date, local, kFormer, kLatter, rawOffset, dstOffset, status); in getOffset() 406 void RuleBasedTimeZone::getOffsetFromLocal(UDate date, UTimeZoneLocalOption nonExistingTimeOpt, in getOffsetFromLocal() argument 409 getOffsetInternal(date, TRUE, nonExistingTimeOpt, duplicatedTimeOpt, rawOffset, dstOffset, status); in getOffsetFromLocal() 417 RuleBasedTimeZone::getOffsetInternal(UDate date, UBool local, in getOffsetInternal() argument 440 if (date < tstart) { in getOffsetInternal() 446 if (date > tend) { in getOffsetInternal() 448 rule = findRuleInFinal(date, local, NonExistingTimeOpt, DuplicatedTimeOpt); in getOffsetInternal() 458 if (date > in getOffsetInternal() 514 inDaylightTime(UDate date, UErrorCode& status) const inDaylightTime() argument 690 findRuleInFinal(UDate date, UBool local, int32_t NonExistingTimeOpt, int32_t DuplicatedTimeOpt) const findRuleInFinal() argument [all...] |
H A D | olsontz.h | 184 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset, 191 UDate date, UTimeZoneLocalOption nonExistingTimeOpt, 221 virtual UBool inDaylightTime(UDate date, UErrorCode& ec) const; 298 void getHistoricalOffset(UDate date, UBool local, 368 * A SimpleTimeZone that governs the behavior for date >= finalMillis. 373 * For date >= finalMillis, the finalZone will be used.
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | EasterHoliday.java | 146 * Return the first occurrence of this rule on or after the given date 156 * the given start date and before the given end date. 168 public boolean isOn(Date date) in isOn() argument 171 calendar.setTime(date); in isOn() 200 // We might have gotten a date that's in the same year as "start", but in doFirstBetween() 224 * Compute the month and date on which this holiday falls in the year 225 * containing the date "date". First figure out which date Easte 232 computeInYear(Date date, GregorianCalendar cal) computeInYear() argument [all...] |
H A D | HebrewCalendar.java | 38 * rather than attempting to perform date arithmetic by manipulating 166 * The absolute date, in milliseconds since 1/1/1970 AD, Gregorian, 351 * Constructs a <code>HebrewCalendar</code> with the given date set 359 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 363 public HebrewCalendar(int year, int month, int date) { in HebrewCalendar() argument 367 this.set(DATE, date); in HebrewCalendar() 371 * Constructs a <code>HebrewCalendar</code> with the given date set 374 * @param date The date to which the new calendar is set. 378 public HebrewCalendar(Date date) { in HebrewCalendar() argument 402 HebrewCalendar(int year, int month, int date, int hour, int minute, int second) HebrewCalendar() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | EasterHoliday.java | 148 * Return the first occurrence of this rule on or after the given date 158 * the given start date and before the given end date. 170 public boolean isOn(Date date) in isOn() argument 173 calendar.setTime(date); in isOn() 202 // We might have gotten a date that's in the same year as "start", but in doFirstBetween() 226 * Compute the month and date on which this holiday falls in the year 227 * containing the date "date". First figure out which date Easte 234 computeInYear(Date date, GregorianCalendar cal) computeInYear() argument [all...] |
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-vt8500.c | 104 u32 date, time; in vt8500_rtc_read_time() local 106 date = readl(vt8500_rtc->regbase + VT8500_RTC_DR); in vt8500_rtc_read_time() 112 tm->tm_mday = bcd2bin(date & DATE_DAY_MASK); in vt8500_rtc_read_time() 113 tm->tm_mon = bcd2bin((date & DATE_MONTH_MASK) >> DATE_MONTH_S) - 1; in vt8500_rtc_read_time() 114 tm->tm_year = bcd2bin((date & DATE_YEAR_MASK) >> DATE_YEAR_S) in vt8500_rtc_read_time() 115 + ((date >> DATE_CENTURY_S) & 1 ? 200 : 100); in vt8500_rtc_read_time()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-vt8500.c | 104 u32 date, time; in vt8500_rtc_read_time() local 106 date = readl(vt8500_rtc->regbase + VT8500_RTC_DR); in vt8500_rtc_read_time() 112 tm->tm_mday = bcd2bin(date & DATE_DAY_MASK); in vt8500_rtc_read_time() 113 tm->tm_mon = bcd2bin((date & DATE_MONTH_MASK) >> DATE_MONTH_S) - 1; in vt8500_rtc_read_time() 114 tm->tm_year = bcd2bin((date & DATE_YEAR_MASK) >> DATE_YEAR_S) in vt8500_rtc_read_time() 115 + ((date >> DATE_CENTURY_S) & 1 ? 200 : 100); in vt8500_rtc_read_time()
|