/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 | 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 | incaltst.cpp | 203 UDate D = grego->getTime(status); in quasiGregorianTest() 208 UDate d = cal.getTime(status); in quasiGregorianTest() 248 UDate timeA = Calendar::getNow(); in TestGregorian() 264 UDate timeB = Calendar::getNow(); in TestGregorian() 265 UDate timeCal = cal->getTime(status); in TestGregorian() 288 UDate timeA = Calendar::getNow(); in TestBuddhist() 317 UDate timeB = Calendar::getNow(); in TestBuddhist() 318 UDate timeCal = cal->getTime(status); in TestBuddhist() 338 UDate timeA = Calendar::getNow(); in TestTaiwan() 368 UDate timeB = Calendar::getNow(); in TestTaiwan() [all …]
|
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…
|
/external/icu/libicu/cts_headers/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 | 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
|
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, 222 … 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/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, 222 … void getTimeZoneRulesAfter(UDate start, InitialTimeZoneRule*& initial, UVector*& transitionRules,
|
/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 | 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 | 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 | 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()
|
/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
|
/external/icu/libicu/cts_headers/ |
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 | 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);
|