/external/icu/icu4c/source/test/intltest/ |
D | tzbdtest.h | 42 …virtual void findDaylightBoundaryUsingDate(UDate d, const char* startMode, UDate expectedBoundary); 43 …virtual void findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary); 44 …virtual void findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedBoundary,… 48 UnicodeString showDate(UDate d); 56 …virtual void verifyDST(UDate d, TimeZone* time_zone, UBool expUseDaylightTime, UBool expInDaylight… 67 virtual void testUsingBinarySearch(SimpleTimeZone* tz, UDate d, UDate expectedBoundary); 77 …virtual void findBoundariesStepwise(int32_t year, UDate interval, TimeZone* z, int32_t expectedCha… 87 const UDate ONE_SECOND; 88 const UDate ONE_MINUTE; 89 const UDate ONE_HOUR; [all …]
|
D | tzbdtest.cpp | 67 const UDate TimeZoneBoundaryTest::PST_1997_BEG = 860320800000.0; 69 const UDate TimeZoneBoundaryTest::PST_1997_END = 877856400000.0; 71 const UDate TimeZoneBoundaryTest::INTERVAL = 10; 76 TimeZoneBoundaryTest::findDaylightBoundaryUsingDate(UDate d, const char* startMode, UDate expectedB… in findDaylightBoundaryUsingDate() 82 UDate min = d; in findDaylightBoundaryUsingDate() 83 UDate max = min + SIX_MONTHS; in findDaylightBoundaryUsingDate() 85 UDate mid = (min + max) / 2; in findDaylightBoundaryUsingDate() 96 UDate mindelta = expectedBoundary - min; in findDaylightBoundaryUsingDate() 97 UDate maxdelta = max - expectedBoundary; in findDaylightBoundaryUsingDate() 108 TimeZoneBoundaryTest::findDaylightBoundaryUsingTimeZone(UDate d, UBool startsInDST, UDate expectedB… in findDaylightBoundaryUsingTimeZone() [all …]
|
D | tzrulets.h | 45 void verifyTransitions(BasicTimeZone& icutz, UDate start, UDate end); 47 UDate start, UDate end, UBool inclusive); 49 UDate start, UDate end, UBool inclusive); 50 UDate getUTCMillis(int32_t year, int32_t month, int32_t dom,
|
D | incaltst.cpp | 182 UDate D = grego->getTime(status); in quasiGregorianTest() 187 UDate d = cal.getTime(status); in quasiGregorianTest() 227 UDate timeA = Calendar::getNow(); in TestGregorian() 243 UDate timeB = Calendar::getNow(); in TestGregorian() 244 UDate timeCal = cal->getTime(status); in TestGregorian() 267 UDate timeA = Calendar::getNow(); in TestBuddhist() 296 UDate timeB = Calendar::getNow(); in TestBuddhist() 297 UDate timeCal = cal->getTime(status); in TestBuddhist() 317 UDate timeA = Calendar::getNow(); in TestTaiwan() 347 UDate timeB = Calendar::getNow(); in TestTaiwan() [all …]
|
D | tzregts.h | 56 UDate findTransitionBinary(const SimpleTimeZone& tz, UDate min, UDate max); 57 UDate findTransitionStepwise(const SimpleTimeZone& tz, UDate min, UDate max);
|
D | tztest.h | 54 UDate min, UDate max); 60 UDate min, UDate max, 61 UDate expectedBoundary); 107 static const UDate INTERVAL;
|
D | caltztst.h | 36 UnicodeString dateToString(UDate d); 37 UnicodeString& dateToString(UDate d, UnicodeString& str); 38 UnicodeString& dateToString(UDate d, UnicodeString& str, const TimeZone& z); 42 UDate date(int32_t y, int32_t m, int32_t d, int32_t hr=0, int32_t min=0, int32_t sec=0); 49 …void dateToFields(UDate date, int32_t& y, int32_t& m, int32_t& d, int32_t& hr, int32_t& min, int32…
|
D | dtfmtrtts.h | 38 int32_t getField(UDate d, int32_t f); 40 UDate generateDate(void); 41 UDate generateDate(UDate minDate); 81 const UnicodeString& fullFormat(UDate d);
|
D | calregts.h | 91 static UDate getAssociatedDate(UDate d, UErrorCode& status); 92 …static UDate makeDate(int32_t y, int32_t m = 0, int32_t d = 0, int32_t hr = 0, int32_t min = 0, in… 94 static const UDate EARLIEST_SUPPORTED_MILLIS; 95 static const UDate LATEST_SUPPORTED_MILLIS;
|
D | dtfmttst.cpp | 285 UDate today = Calendar::getNow(); in TestWallyWedel() 405 UDate d = fmt.parse(s, status); in TestTwoDigitYearDSTParse() 546 UDate aug13 = 871508052513.0; in TestFieldPosition() 686 UDate null = 0; in TestPartialParse994() 699 DateFormatTest::tryPat994(SimpleDateFormat* format, const char* pat, const char* str, UDate expecte… in tryPat994() 702 UDate null = 0; in tryPat994() 706 UDate date = format->parse(str, status); in tryPat994() 752 UDate date1 = Calendar::getNow(); in TestRunTogetherPattern985() 756 UDate date2 = formatter->parse(now, pos); in TestRunTogetherPattern985() 796 DateFormatTest::testIt917(SimpleDateFormat* fmt, UnicodeString& str, UDate expected) in testIt917() [all …]
|
D | dtfmttst.h | 60 static void getFieldText(DateFormat* df, int32_t field, UDate date, UnicodeString& str); 72 …virtual void tryPat994(SimpleDateFormat* format, const char* pat, const char* str, UDate expected); 88 virtual void testIt917(SimpleDateFormat* fmt, UnicodeString& str, UDate expected); 107 virtual void tryPattern(SimpleDateFormat& sdf, UDate d, const char* pattern, UDate expected); 133 virtual void parse2DigitYear(DateFormat& fmt, const char* str, UDate expected);
|
D | tzrulets.cpp | 53 UDate start, UDate end, 240 UDate start = getUTCMillis(STARTYEAR, UCAL_JANUARY, 1); in TestSimpleRuleBasedTimeZone() 241 UDate until = getUTCMillis(STARTYEAR + 10, UCAL_JANUARY, 1); in TestSimpleRuleBasedTimeZone() 276 UDate time; in TestSimpleRuleBasedTimeZone() 516 UDate jan1_1950 = getUTCMillis(1950, UCAL_JANUARY, 1); in TestHistoricalRuleBasedTimeZone() 517 UDate jan1_1967 = getUTCMillis(1971, UCAL_JANUARY, 1); in TestHistoricalRuleBasedTimeZone() 518 UDate jan1_2010 = getUTCMillis(2010, UCAL_JANUARY, 1); in TestHistoricalRuleBasedTimeZone() 559 UDate times[] = { in TestHistoricalRuleBasedTimeZone() 626 UDate lo = getUTCMillis(TESTYEARS[i][0], UCAL_JANUARY, 1); in TestOlsonTransition() 627 UDate hi = getUTCMillis(TESTYEARS[i][1], UCAL_JANUARY, 1); in TestOlsonTransition() [all …]
|
D | dtfmrgts.cpp | 79 UDate today = Calendar::getNow(); in Test4029195() 141 UDate dt = date(97, UCAL_MAY, 3, 8, 55); in Test4052408() 242 UDate start = date(1809-1900, UCAL_DECEMBER, 25); in Test4056591() 247 UDate dates [] = { in Test4056591() 270 UDate exp = dates[i]; in Test4056591() 271 UDate got = fmt->parse(s, status); in Test4056591() 349 UDate myDate = formatter.parse( dateString, pos ); in Test4060212() 426 UDate curDate; in Test4065240() 528 UDate epoch = date(0, 0, 0); in Test4071441() 529 UDate xmas = date(61, UCAL_DECEMBER, 25); in Test4071441() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | tzrule.h | 114 …virtual UBool getFirstStart(int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) const = … 127 …virtual UBool getFinalStart(int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) const = … 143 virtual UBool getNextStart(UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, 144 UBool inclusive, UDate& result) const = 0; 160 virtual UBool getPreviousStart(UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, 161 UBool inclusive, UDate& result) const = 0; 273 …UBool getStartInYear(int32_t year, int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) c… 296 virtual UBool getFirstStart(int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) const; 309 virtual UBool getFinalStart(int32_t prevRawOffset, int32_t prevDSTSavings, UDate& result) const; 325 virtual UBool getNextStart(UDate base, int32_t prevRawOffset, int32_t prevDSTSavings, [all …]
|
D | vtzone.h | 142 UBool getLastModified(UDate& lastModified) const; 149 void setLastModified(UDate lastModified); 167 void write(UDate start, UnicodeString& result, UErrorCode& status) const; 182 void writeSimple(UDate time, UnicodeString& result, UErrorCode& status) const; 264 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset, 307 virtual UBool inDaylightTime(UDate date, UErrorCode& status) const; 328 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const; 338 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const; 378 void write(UDate start, VTZWriter& writer, UErrorCode& status) const; 379 void writeSimple(UDate time, VTZWriter& writer, UErrorCode& status) const; [all …]
|
D | rbtz.h | 200 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset, 243 virtual UBool inDaylightTime(UDate date, UErrorCode& status) const; 264 virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const; 274 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const; 309 … virtual void getOffsetFromLocal(UDate date, int32_t nonExistingTimeOpt, int32_t duplicatedTimeOpt, 316 TimeZoneRule* findRuleInFinal(UDate date, UBool local, 318 …UBool findNext(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) c… 319 …UBool findPrev(UDate base, UBool inclusive, UDate& time, TimeZoneRule*& from, TimeZoneRule*& to) c… 322 UDate getTransitionTime(Transition* transition, UBool local, 324 …void getOffsetInternal(UDate date, UBool local, int32_t NonExistingTimeOpt, int32_t DuplicatedTime…
|
D | basictz.h | 62 …virtual UBool getNextTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const = 0; 72 …virtual UBool getPreviousTransition(UDate base, UBool inclusive, TimeZoneTransition& result) const… 94 virtual UBool hasEquivalentTransitions(const BasicTimeZone& tz, UDate start, UDate end, 152 virtual void getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial, 173 … virtual void getOffsetFromLocal(UDate date, int32_t nonExistingTimeOpt, int32_t duplicatedTimeOpt, 216 … void getTimeZoneRulesAfter(UDate start, InitialTimeZoneRule*& initial, UVector*& transitionRules,
|
D | gregocal.h | 317 void setGregorianChange(UDate date, UErrorCode& success); 327 UDate getGregorianChange(void) const; 595 virtual UDate getEpochDay(UErrorCode& status); 698 UDate fGregorianCutover; 710 UDate fNormalizedGregorianCutover;// = gregorianCutover; 731 static double millisToJulianDay(UDate millis); 740 static UDate julianDayToMillis(double julian); 768 virtual UDate defaultCenturyStart() const;
|
/external/icu/icu4c/source/i18n/ |
D | tzrule.cpp | 26 UDate l = *((UDate*)left); in compareDates() 27 UDate r = *((UDate*)right); in compareDates() 149 UDate& /*result*/) const { in getFirstStart() 156 UDate& /*result*/) const { in getFinalStart() 161 InitialTimeZoneRule::getNextStart(UDate /*base*/, in getNextStart() argument 165 UDate& /*result*/) const { in getNextStart() 170 InitialTimeZoneRule::getPreviousStart(UDate /*base*/, in getPreviousStart() argument 174 UDate& /*result*/) const { in getPreviousStart() 267 UDate &result) const { in getStartInYear() 338 UDate& result) const { in getFirstStart() [all …]
|
D | astro.h | 301 CalendarAstronomer(UDate d); 340 void setTime(UDate aTime); 353 void setDate(UDate aDate) { setTime(aDate); } in setDate() 380 UDate getTime(); 533 UDate getSunTime(double desired, UBool next); 547 UDate getSunRiseSet(UBool rise); 633 UDate getMoonTime(double desired, UBool next); 634 UDate getMoonTime(const MoonAge& desired, UBool next); 641 UDate getMoonRiseSet(UBool rise); 655 UDate timeOfAngle(AngleFunc& func, double desired, [all …]
|
D | rbtz.cpp | 29 UDate time; 183 UDate lastTransitionTime = MIN_MILLIS; in complete() 201 UDate nextTransitionTime = MAX_MILLIS; in complete() 205 UDate tt; in complete() 301 UDate tt0, tt1; in complete() 392 UDate time = (UDate)Grego::fieldsToDay(year, month, day) * U_MILLIS_PER_DAY + millis; in getOffset() 401 RuleBasedTimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, in getOffset() 407 RuleBasedTimeZone::getOffsetFromLocal(UDate date, int32_t nonExistingTimeOpt, int32_t duplicatedTim… in getOffsetFromLocal() 417 RuleBasedTimeZone::getOffsetInternal(UDate date, UBool local, in getOffsetInternal() 438 UDate tstart = getTransitionTime((Transition*)fHistoricTransitions->elementAt(0), in getOffsetInternal() [all …]
|
D | vzone.h | 118 vzone_getLastModified(VZone* zone, UDate& lastModified); 126 vzone_setLastModified(VZone* zone, UDate lastModified); 148 vzone_writeFromStart(VZone* zone, UDate start, UChar* & result, int32_t & resultLength, UErrorCode&… 164 vzone_writeSimple(VZone* zone, UDate time, UChar* & result, int32_t & resultLength, UErrorCode& sta… 241 vzone_getOffset3(VZone* zone, UDate date, UBool local, int32_t& rawOffset, 287 vzone_inDaylightTime(VZone* zone, UDate date, UErrorCode& status); 309 vzone_getNextTransition(VZone* zone, UDate base, UBool inclusive, ZTrans* result); 320 vzone_getPreviousTransition(VZone* zone, UDate base, UBool inclusive, ZTrans* result);
|
D | dangical.cpp | 108 …const UDate millis1897[] = { (UDate)((1897 - 1970) * 365 * kOneDay) }; // some days of error is no… in initDangiCalZoneAstroCalc() 109 …const UDate millis1898[] = { (UDate)((1898 - 1970) * 365 * kOneDay) }; // some days of error is no… in initDangiCalZoneAstroCalc() 110 …const UDate millis1912[] = { (UDate)((1912 - 1970) * 365 * kOneDay) }; // this doesn't create an i… in initDangiCalZoneAstroCalc()
|
D | zrule.h | 199 UDate& result); 214 UDate& result); 231 izrule_getNextStart(IZRule* rule, UDate base, int32_t prevRawOffset, 232 int32_t prevDSTSavings, UBool inclusive, UDate& result); 249 izrule_getPreviousStart(IZRule* rule, UDate base, int32_t prevRawOffset, 250 int32_t prevDSTSavings, UBool inclusive, UDate& result);
|
/external/icu/icu4c/source/common/unicode/ |
D | dtintrv.h | 45 DateInterval(UDate fromDate, UDate toDate); 58 inline UDate getFromDate() const; 65 inline UDate getToDate() const; 136 UDate fromDate; 137 UDate toDate; 142 inline UDate 148 inline UDate
|