/third_party/node/deps/icu-small/source/i18n/ |
H A D | olsontz.cpp | 227 // Note: Setting finalStartYear to the finalZone is problematic. When a date is around in OlsonTimeZone() 382 UDate date = (UDate)(Grego::fieldsToDay(year, month, dom) * U_MILLIS_PER_DAY + millis); in getOffset() local 384 getHistoricalOffset(date, true, kDaylight, kStandard, rawoff, dstoff); in getOffset() 391 void OlsonTimeZone::getOffset(UDate date, UBool local, int32_t& rawoff, in getOffset() argument 396 if (finalZone != nullptr && date >= finalStartMillis) { in getOffset() 397 finalZone->getOffset(date, local, rawoff, dstoff, ec); in getOffset() 399 getHistoricalOffset(date, local, kFormer, kLatter, rawoff, dstoff); in getOffset() 403 void OlsonTimeZone::getOffsetFromLocal(UDate date, UTimeZoneLocalOption nonExistingTimeOpt, in getOffsetFromLocal() argument 409 if (finalZone != nullptr && date >= finalStartMillis) { in getOffsetFromLocal() 410 finalZone->getOffsetFromLocal(date, nonExistingTimeOp in getOffsetFromLocal() 474 getHistoricalOffset(UDate date, UBool local, int32_t NonExistingTimeOpt, int32_t DuplicatedTimeOpt, int32_t& rawoff, int32_t& dstoff) const getHistoricalOffset() argument 602 inDaylightTime(UDate date, UErrorCode& ec) const inDaylightTime() argument [all...] |
H A D | tznames.cpp | 113 UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const override; 122 void getDisplayNames(const UnicodeString& tzID, const UTimeZoneNameType types[], int32_t numTypes, UDate date, UnicodeString dest[], UErrorCode& status) const override; 262 TimeZoneNamesDelegate::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const { in getMetaZoneID() argument 263 return fTZnamesCacheEntry->names->getMetaZoneID(tzID, date, mzID); in getMetaZoneID() 292 TimeZoneNamesDelegate::getDisplayNames(const UnicodeString& tzID, const UTimeZoneNameType types[], int32_t numTypes, UDate date, UnicodeString dest[], UErrorCode& status) const { in getDisplayNames() argument 293 fTZnamesCacheEntry->names->getDisplayNames(tzID, types, numTypes, date, dest, status); in getDisplayNames() 337 TimeZoneNames::getDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UDate date, UnicodeString& name) const { in getDisplayName() argument 342 getMetaZoneID(tzID, date, mzID); in getDisplayName() 356 TimeZoneNames::getDisplayNames(const UnicodeString& tzID, const UTimeZoneNameType types[], int32_t numTypes, UDate date, UnicodeString dest[], UErrorCode& status) const { in getDisplayNames() argument 364 getMetaZoneID(tzID, date, mzI in getDisplayNames() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | olsontz.cpp | 227 // Note: Setting finalStartYear to the finalZone is problematic. When a date is around in OlsonTimeZone() 382 UDate date = (UDate)(Grego::fieldsToDay(year, month, dom) * U_MILLIS_PER_DAY + millis); in getOffset() local 384 getHistoricalOffset(date, TRUE, kDaylight, kStandard, rawoff, dstoff); in getOffset() 391 void OlsonTimeZone::getOffset(UDate date, UBool local, int32_t& rawoff, in getOffset() argument 396 if (finalZone != NULL && date >= finalStartMillis) { in getOffset() 397 finalZone->getOffset(date, local, rawoff, dstoff, ec); in getOffset() 399 getHistoricalOffset(date, local, kFormer, kLatter, rawoff, dstoff); in getOffset() 403 void OlsonTimeZone::getOffsetFromLocal(UDate date, UTimeZoneLocalOption nonExistingTimeOpt, in getOffsetFromLocal() argument 409 if (finalZone != NULL && date >= finalStartMillis) { in getOffsetFromLocal() 410 finalZone->getOffsetFromLocal(date, nonExistingTimeOp in getOffsetFromLocal() 475 getHistoricalOffset(UDate date, UBool local, int32_t NonExistingTimeOpt, int32_t DuplicatedTimeOpt, int32_t& rawoff, int32_t& dstoff) const getHistoricalOffset() argument 603 inDaylightTime(UDate date, UErrorCode& ec) const inDaylightTime() argument [all...] |
H A D | tznames.cpp | 113 UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const; 122 void getDisplayNames(const UnicodeString& tzID, const UTimeZoneNameType types[], int32_t numTypes, UDate date, UnicodeString dest[], UErrorCode& status) const; 262 TimeZoneNamesDelegate::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const { in getMetaZoneID() argument 263 return fTZnamesCacheEntry->names->getMetaZoneID(tzID, date, mzID); in getMetaZoneID() 292 TimeZoneNamesDelegate::getDisplayNames(const UnicodeString& tzID, const UTimeZoneNameType types[], int32_t numTypes, UDate date, UnicodeString dest[], UErrorCode& status) const { in getDisplayNames() argument 293 fTZnamesCacheEntry->names->getDisplayNames(tzID, types, numTypes, date, dest, status); in getDisplayNames() 337 TimeZoneNames::getDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UDate date, UnicodeString& name) const { in getDisplayName() argument 342 getMetaZoneID(tzID, date, mzID); in getDisplayName() 356 TimeZoneNames::getDisplayNames(const UnicodeString& tzID, const UTimeZoneNameType types[], int32_t numTypes, UDate date, UnicodeString dest[], UErrorCode& status) const { in getDisplayNames() argument 364 getMetaZoneID(tzID, date, mzI in getDisplayNames() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | TimeZoneGenericNames.java | 187 * at the given date, or null if the display name is not available. 191 * @param date the date 193 * at the given date, or null. 195 public String getDisplayName(TimeZone tz, GenericNameType type, long date) { in getDisplayName() argument 207 name = formatGenericNonLocationName(tz, type, date); in getDisplayName() 309 * the zone never use daylight time around the given date, use the standard 318 * @param date the date 322 * around the date), o 324 formatGenericNonLocationName(TimeZone tz, GenericNameType type, long date) formatGenericNonLocationName() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | TimeZoneGenericNames.java | 191 * at the given date, or null if the display name is not available. 195 * @param date the date 197 * at the given date, or null. 199 public String getDisplayName(TimeZone tz, GenericNameType type, long date) { in getDisplayName() argument 211 name = formatGenericNonLocationName(tz, type, date); in getDisplayName() 313 * the zone never use daylight time around the given date, use the standard 322 * @param date the date 326 * around the date), o 328 formatGenericNonLocationName(TimeZone tz, GenericNameType type, long date) formatGenericNonLocationName() argument [all...] |
/third_party/node/deps/npm/node_modules/libnpmsearch/lib/ |
H A D | index.js | 60 if (obj.package.date) { 61 obj.package.date = new Date(obj.package.date)
|
/third_party/icu/icu4c/source/samples/datefmt/answers/ |
H A D | main_2.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() 79 // Format the date in main() 81 fmt->format(date, str, status); in main() 83 // Display the formatted date string in main()
|
/third_party/skia/third_party/externals/icu/source/samples/datefmt/answers/ |
H A D | main_2.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() 79 // Format the date in main() 81 fmt->format(date, str, status); in main() 83 // Display the formatted date string in main()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cdtdptst.c | 68 log_data_err("FAIL: Error in creating a date format using udat_openPattern %s - (Are you missing data?)\n", in TestTwoDigitYearDSTParse() 127 /* this is supposed to open default date format, but later on it treats it like it is "en_US" in TestPartialParse994() 165 UDate date; in tryPat994() local 176 date = udat_parse(format, str, u_strlen(str), &pos, &status); in tryPat994() 177 if(U_FAILURE(status) || date == null) { in tryPat994() 183 f=myDateFormat(format, date); in tryPat994() 185 if (expected == null || date != expected) in tryPat994() 211 log_data_err("FAIL: Error in date format construction with pattern: %s - (Are you missing data?)\n", myErrorName(status)); in TestRunTogetherPattern985() 243 UChar *date; in TestCzechMonths459() local 248 log_data_err("Error in constructing the date forma in TestCzechMonths459() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | BasicTimeZone.java | 372 * this time zone object near the specified date. Some applications are not 378 * <code>DateTimeRule.DOW</code> for date and <code>DateTimeRule.WALL_TIME</code> 381 * specified date. Thus, the result may be only valid for dates around the 382 * specified date. 384 * @param date The date to be used for <code>TimeZoneRule</code> extraction. 392 public TimeZoneRule[] getSimpleTimeZoneRulesNear(long date) { in getSimpleTimeZoneRulesNear() argument 396 TimeZoneTransition tr = getNextTransition(date, false); in getSimpleTimeZoneRulesNear() 403 // within roughly 1 year from the specified date in getSimpleTimeZoneRulesNear() 407 && date in getSimpleTimeZoneRulesNear() 667 getOffsetFromLocal(long date, LocalOption nonExistingTimeOpt, LocalOption duplicatedTimeOpt, int[] offsets) getOffsetFromLocal() argument [all...] |
H A D | ChineseCalendar.java | 155 * Construct a <code>ChineseCalendar</code> with the give date set in the default time zone 157 * @param date The date to which the new calendar is set. 160 public ChineseCalendar(Date date) { in ChineseCalendar() argument 162 setTime(date); in ChineseCalendar() 166 * Constructs a <code>ChineseCalendar</code> with the given date set 174 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 178 public ChineseCalendar(int year, int month, int isLeapMonth, int date) { in ChineseCalendar() argument 179 this(year, month, isLeapMonth, date, 0, 0, 0); in ChineseCalendar() 183 * Constructs a <code>ChineseCalendar</code> with the given date 201 ChineseCalendar(int year, int month, int isLeapMonth, int date, int hour, int minute, int second) ChineseCalendar() argument 236 ChineseCalendar(int era, int year, int month, int isLeapMonth, int date) ChineseCalendar() argument 261 ChineseCalendar(int era, int year, int month, int isLeapMonth, int date, int hour, int minute, int second) ChineseCalendar() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | ChineseCalendar.java | 154 * Construct a <code>ChineseCalendar</code> with the give date set in the default time zone 156 * @param date The date to which the new calendar is set. 158 public ChineseCalendar(Date date) { in ChineseCalendar() argument 160 setTime(date); in ChineseCalendar() 164 * Constructs a <code>ChineseCalendar</code> with the given date set 172 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 175 public ChineseCalendar(int year, int month, int isLeapMonth, int date) { in ChineseCalendar() argument 176 this(year, month, isLeapMonth, date, 0, 0, 0); in ChineseCalendar() 180 * Constructs a <code>ChineseCalendar</code> with the given date 197 ChineseCalendar(int year, int month, int isLeapMonth, int date, int hour, int minute, int second) ChineseCalendar() argument 231 ChineseCalendar(int era, int year, int month, int isLeapMonth, int date) ChineseCalendar() argument 255 ChineseCalendar(int era, int year, int month, int isLeapMonth, int date, int hour, int minute, int second) ChineseCalendar() argument [all...] |
H A D | BasicTimeZone.java | 361 * this time zone object near the specified date. Some applications are not 367 * <code>DateTimeRule.DOW</code> for date and <code>DateTimeRule.WALL_TIME</code> 370 * specified date. Thus, the result may be only valid for dates around the 371 * specified date. 373 * @param date The date to be used for <code>TimeZoneRule</code> extraction. 379 public TimeZoneRule[] getSimpleTimeZoneRulesNear(long date) { in getSimpleTimeZoneRulesNear() argument 383 TimeZoneTransition tr = getNextTransition(date, false); in getSimpleTimeZoneRulesNear() 390 // within roughly 1 year from the specified date in getSimpleTimeZoneRulesNear() 394 && date in getSimpleTimeZoneRulesNear() 585 getOffsetFromLocal(long date, int nonExistingTimeOpt, int duplicatedTimeOpt, int[] offsets) getOffsetFromLocal() argument [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | tznames.cpp | 113 UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const override; 122 void getDisplayNames(const UnicodeString& tzID, const UTimeZoneNameType types[], int32_t numTypes, UDate date, UnicodeString dest[], UErrorCode& status) const override; 262 TimeZoneNamesDelegate::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const { in getMetaZoneID() argument 263 return fTZnamesCacheEntry->names->getMetaZoneID(tzID, date, mzID); in getMetaZoneID() 292 TimeZoneNamesDelegate::getDisplayNames(const UnicodeString& tzID, const UTimeZoneNameType types[], int32_t numTypes, UDate date, UnicodeString dest[], UErrorCode& status) const { in getDisplayNames() argument 293 fTZnamesCacheEntry->names->getDisplayNames(tzID, types, numTypes, date, dest, status); in getDisplayNames() 337 TimeZoneNames::getDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UDate date, UnicodeString& name) const { in getDisplayName() argument 342 getMetaZoneID(tzID, date, mzID); in getDisplayName() 356 TimeZoneNames::getDisplayNames(const UnicodeString& tzID, const UTimeZoneNameType types[], int32_t numTypes, UDate date, UnicodeString dest[], UErrorCode& status) const { in getDisplayNames() argument 364 getMetaZoneID(tzID, date, mzI in getDisplayNames() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/loading_progress/ |
H A D | loading_progress_modifier.cpp | 100 float date = date_->Get(); in onDraw() local 118 if (date > COUNT) { in onDraw() 120 DrawOrbit(context, cometParam, orbitRadius, date); in onDraw() 122 DrawOrbit(context, cometParam, orbitRadius, date); in onDraw() 201 DrawingContext& context, const CometParam& cometParam, float orbitRadius, float date) in DrawOrbit() 207 double angle = TOTAL_ANGLE * date / FULL_COUNT; in DrawOrbit() 434 auto date = weakDate.Upgrade(); in StartRecycle() 435 CHECK_NULL_VOID(date); in StartRecycle() 436 date->Set(FULL_COUNT); in StartRecycle() 460 auto date in StartTransToRecycleAnimation() 200 DrawOrbit( DrawingContext& context, const CometParam& cometParam, float orbitRadius, float date) DrawOrbit() argument 501 CloseAnimation(float date, float cometLen, float cometOpacity, float cometScale) CloseAnimation() argument [all...] |
/third_party/python/Lib/ |
H A D | nntplib.py | 31 # xover, xgtitle, xpath, date methods by Kevan Heydon 40 # - NNTP.date() returns a datetime object 41 # - NNTP.newgroups() and NNTP.newnews() take a datetime (or date) object, 42 # rather than a pair of (date, time) strings. 151 "subject", "from", "date", "message-id", "references", ":bytes", ":lines"] 236 """Parse a pair of (date, time) strings, and return a datetime object. 237 If only the date is given, it is assumed to be date and time 258 """Format a date or datetime object as a pair of (date, tim 867 def date(self): global() member in NNTP [all...] |
/foundation/arkui/ace_engine/test/mock/base/ |
H A D | mock_localization.cpp | 115 LunarDate Localization::GetLunarDate(Date date) in GetLunarDate() argument 118 dateRet.year = date.year; in GetLunarDate() 119 dateRet.month = date.month; in GetLunarDate() 120 dateRet.day = date.day; in GetLunarDate()
|
/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/pages/component/list/list/list14/ |
H A D | index.js | 53 date: this.getCurrentDateTime(), 88 date: '2021-12-31 10:00:00', 91 data.date = this.getCurrentDateTime(); 111 this.planList[item].date = this.getCurrentDateTime();
|
/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
H A D | DateFormatPerformanceTest.java | 23 private Date date; field in DateFormatPerformanceTest 53 date = icuDateFormat[0].parse(dateString); in setup() 105 icuDateFormat[id].format(date); in TestICUFormat() 113 jdkDateFormat[id].format(date); in TestJDKFormat()
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | version.c | 30 {"b", OPT_B, '-', "Show build date"}, 46 int cflags = 0, version = 0, date = 0, options = 0, platform = 0, dir = 0; in version_main() local 64 dirty = date = 1; in version_main() 94 seed = options = cflags = version = date = platform in version_main() 112 if (date) in version_main()
|
/third_party/openssl/apps/ |
H A D | version.c | 30 {"b", OPT_B, '-', "Show build date"}, 46 int cflags = 0, version = 0, date = 0, options = 0, platform = 0, dir = 0; in version_main() local 64 dirty = date = 1; in version_main() 94 seed = options = cflags = version = date = platform in version_main() 112 if (date) in version_main()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | es2020IntlAPIs.js | 4 const date = new Date("2012-05-24"); 8 `${new Intl.DateTimeFormat(locale).format(date)} ${new Intl.NumberFormat(locale).format(count)}` 64 const date = new Date("2012-05-24");
66 console.log(`${new Intl.DateTimeFormat(locale).format(date)} ${new Intl.NumberFormat(locale).format(count)}`);
|
/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
|