/external/icu4c/i18n/ |
D | ucal.cpp | 90 UDate d = Calendar::getNow(); in ucal_getDSTSavings() 111 return Calendar::getNow(); in ucal_getNow() 132 return (UCalendar*)Calendar::createInstance(zone, Locale(locale), *status); in ucal_open() 139 delete (Calendar*) cal; in ucal_close() 156 ((Calendar*)cal)->adoptTimeZone(zone); in ucal_setTimeZone() 171 const TimeZone& tz = ((Calendar*)cal)->getTimeZone(); in ucal_getTimeZoneDisplayName() 206 return ((Calendar*)cal)->inDaylightTime(*status); in ucal_inDaylightTime() 214 Calendar *cpp_cal = (Calendar *)cal; in ucal_setGregorianChange() 227 Calendar *cpp_cal = (Calendar *)cal; in ucal_getGregorianChange() 242 return ((Calendar*)cal)->isLenient(); in ucal_getAttribute() [all …]
|
D | calendar.cpp | 96 void ucal_dump(const Calendar &cal) { in ucal_dump() 100 void Calendar::dump() const { in dump() 128 ucal_dump( *((Calendar*)cal) ); in ucal_dump() 176 static Calendar *createStandardCalendar(char *calType, const Locale &canLoc, UErrorCode& status) { in createStandardCalendar() 350 …rintf(stderr, "Cloning a %s calendar with tz=%ld\n", ((Calendar*)instance)->getType(), ((Calendar*… in cloneInstance() 352 return ((Calendar*)instance)->clone(); in cloneInstance() 368 Calendar *nc = new GregorianCalendar(loc, status); in handleDefault() 372 …fprintf(stderr, "New default calendar has tz=%d\n", ((Calendar*)nc)->get(UCAL_ZONE_OFFSET, status2… in handleDefault() 440 URegistryKey Calendar::registerFactory(ICUServiceFactory* toAdopt, UErrorCode& status) in registerFactory() 445 UBool Calendar::unregister(URegistryKey key, UErrorCode& status) { in unregister() [all …]
|
D | gregocal.cpp | 152 : Calendar(TimeZone::createDefault(), Locale::getDefault(), status), in GregorianCalendar() 163 : Calendar(zone, Locale::getDefault(), status), in GregorianCalendar() 174 : Calendar(zone, Locale::getDefault(), status), in GregorianCalendar() 185 : Calendar(TimeZone::createDefault(), aLocale, status), in GregorianCalendar() 197 : Calendar(zone, aLocale, status), in GregorianCalendar() 209 : Calendar(zone, aLocale, status), in GregorianCalendar() 221 … : Calendar(TimeZone::createDefault(), Locale::getDefault(), status), in GregorianCalendar() 236 … : Calendar(TimeZone::createDefault(), Locale::getDefault(), status), in GregorianCalendar() 254 … : Calendar(TimeZone::createDefault(), Locale::getDefault(), status), in GregorianCalendar() 277 : Calendar(source), in GregorianCalendar() [all …]
|
D | reldtfmt.cpp | 110 UnicodeString& RelativeDateFormat::format( Calendar& cal, in format() 153 Calendar& cal, in parse() 176 cal.setTime(Calendar::getNow(),status); in parse() 290 Calendar* 294 …fCalendar = Calendar::createInstance(adoptZone?adoptZone:TimeZone::createDefault(), locale, status… in initializeCalendar() 302 int32_t RelativeDateFormat::dayDifference(Calendar &cal, UErrorCode &status) { in dayDifference() 307 Calendar *nowCal = cal.clone(); in dayDifference() 308 nowCal->setTime(Calendar::getNow(), status); in dayDifference() 309 int32_t dayDiff = nowCal->fieldDifference(cal.getTime(status), Calendar::DATE, status); in dayDifference()
|
D | windtfmt.h | 53 UnicodeString &format(Calendar &cal, UnicodeString &appendTo, FieldPosition &pos) const; 57 void parse(const UnicodeString& text, Calendar& cal, ParsePosition& pos) const; 67 virtual void adoptCalendar(Calendar* calendarToAdopt); 77 virtual void setCalendar(const Calendar& newCalendar);
|
D | reldtfmt.h | 95 virtual UnicodeString& format( Calendar& cal, 139 Calendar& cal, 216 static int32_t dayDifference(Calendar &until, UErrorCode &status); 226 Calendar* initializeCalendar(TimeZone* adoptZone, const Locale& locale, UErrorCode& status);
|
/external/icu4c/i18n/unicode/ |
D | calendar.h | 165 class U_I18N_API Calendar : public UObject { 255 virtual ~Calendar(); 263 virtual Calendar* clone(void) const = 0; 276 static Calendar* U_EXPORT2 createInstance(UErrorCode& success); 290 static Calendar* U_EXPORT2 createInstance(TimeZone* zoneToAdopt, UErrorCode& success); 303 static Calendar* U_EXPORT2 createInstance(const TimeZone& zone, UErrorCode& success); 315 static Calendar* U_EXPORT2 createInstance(const Locale& aLocale, UErrorCode& success); 330 …static Calendar* U_EXPORT2 createInstance(TimeZone* zoneToAdopt, const Locale& aLocale, UErrorCode… 344 …static Calendar* U_EXPORT2 createInstance(const TimeZone& zoneToAdopt, const Locale& aLocale, UErr… 404 virtual UBool operator==(const Calendar& that) const; [all …]
|
D | smpdtfmt.h | 327 virtual UnicodeString& format( Calendar& cal, 412 Calendar& cal, 601 virtual void adoptCalendar(Calendar* calendarToAdopt); 650 Calendar& cal, 683 Calendar *initializeCalendar(TimeZone* adoptZone, const Locale& locale, UErrorCode& status); 691 void initializeSymbols(const Locale& locale, Calendar* calendar, UErrorCode& status); 725 … const UnicodeString* stringArray, int32_t stringArrayCount, Calendar& cal) const; 740 … const UnicodeString* stringArray, int32_t stringArrayCount, Calendar& cal) const; 757 … UBool obeyCount, UBool allowNegative, UBool ambiguousYear[], Calendar& cal) const; 800 void appendGMT(UnicodeString &appendTo, Calendar& cal, UErrorCode& status) const;
|
D | datefmt.h | 255 virtual UnicodeString& format( Calendar& cal, 352 Calendar& cal, 490 virtual const Calendar* getCalendar(void) const; 501 virtual void adoptCalendar(Calendar* calendarToAdopt); 510 virtual void setCalendar(const Calendar& newCalendar); 585 Calendar* fCalendar;
|
/external/icu4c/test/intltest/ |
D | caltest.h | 61 …virtual void verify765(const UnicodeString& msg, Calendar* c, int32_t year, int32_t month, int32_t… 96 virtual void check520(Calendar* c, 101 virtual void check520(Calendar* c, 132 static UnicodeString value(Calendar* calendar); 165 virtual void doYEAR_WOYLoop(Calendar *cal, 168 virtual void loop_addroll(Calendar *cal, /*SimpleDateFormat *sdf, */ 175 void yearAddTest(Calendar& cal, UErrorCode& status); 179 virtual void marchByDelta(Calendar* cal, int32_t delta); 184 static UnicodeString calToStr(const Calendar & cal); 206 static UDate minDateOfCalendar(const Calendar& cal, UBool &isGregorian, UErrorCode& status);
|
D | incaltst.cpp | 96 Calendar *c = NULL; in TestTypes() 121 c = Calendar::createInstance(locs[j], status); in TestTypes() 142 void IntlCalendarTest::quasiGregorianTest(Calendar& cal, const Locale& gcl, const int32_t *data) { in quasiGregorianTest() 148 Calendar *grego = Calendar::createInstance(gcl, status); in quasiGregorianTest() 214 UDate timeA = Calendar::getNow(); in TestGregorian() 225 Calendar *cal; in TestGregorian() 227 cal = Calendar::createInstance(/*"de_DE", */ status); in TestGregorian() 230 UDate timeB = Calendar::getNow(); in TestGregorian() 254 UDate timeA = Calendar::getNow(); in TestBuddhist() 277 Calendar *cal; in TestBuddhist() [all …]
|
D | calregts.cpp | 129 GregorianCalendar *cal = (GregorianCalendar*)Calendar::createInstance(status); in test4100311() 283 Calendar *calendar = new GregorianCalendar(pdt, status); in test4040996() 320 Calendar *cal = Calendar::createInstance(status); in test4051765() 434 Calendar *cal = Calendar::createInstance(TimeZone::createTimeZone("GMT"), in test4061476() 466 Calendar *cal = new GregorianCalendar(status); in test4070502() 552 if(cal->getActualMinimum(Calendar::DAY_OF_WEEK, status) != min) { in dowTest() 555 if(cal->getActualMinimum(Calendar::DAY_OF_WEEK) != min) { in dowTest() 558 if(((Calendar*)cal)->getActualMinimum(UCAL_DAY_OF_WEEK, status) != min) { in dowTest() 579 Calendar *cal = Calendar::createInstance(status); in test4071385() 655 UDate firstDate = Calendar::getNow(); in test4083167() [all …]
|
D | caltztst.cpp | 25 Calendar* CalendarTimeZoneTest::fgCalendar = 0; 84 Calendar* CalendarTimeZoneTest::getCalendar() in getCalendar() 86 Calendar *theCalendar = 0; in getCalendar() 102 theCalendar = Calendar::createInstance(status); in getCalendar() 113 void CalendarTimeZoneTest::releaseCalendar(Calendar* adopt) in releaseCalendar() 179 Calendar* cal = getCalendar(); in date() 217 Calendar* cal = getCalendar(); in dateToFields()
|
D | caltest.cpp | 22 UnicodeString CalendarTest::calToStr(const Calendar & cal) in calToStr() 261 Calendar *cal = Calendar::createInstance(zone->clone(), status); in TestGenericAPI() 266 Calendar *cal2 = Calendar::createInstance(cal->getTimeZone(), status); in TestGenericAPI() 391 const Locale* loc = Calendar::getAvailableLocales(count); in TestGenericAPI() 400 cal = Calendar::createInstance(loc[i], status); in TestGenericAPI() 406 cal = Calendar::createInstance(TimeZone::createDefault(), Locale::getEnglish(), status); in TestGenericAPI() 410 cal = Calendar::createInstance(*zone, Locale::getEnglish(), status); in TestGenericAPI() 528 Calendar *c = Calendar::createInstance(status); in TestClonesUnique908() 530 Calendar *d = (Calendar*) c->clone(); in TestClonesUnique908() 579 Calendar *c = Calendar::createInstance("en_US", status); in TestDisambiguation765() [all …]
|
D | tzbdtest.cpp | 233 void TimeZoneBoundaryTest::verifyMapping(Calendar& cal, int year, int month, int dom, int hour, in verifyMapping() 279 Calendar* tempcal = Calendar::createInstance(pst, status); in TestBoundaries() 281 verifyMapping(*tempcal, 1997, Calendar::APRIL, 3, 0, 238904.0); in TestBoundaries() 282 verifyMapping(*tempcal, 1997, Calendar::APRIL, 4, 0, 238928.0); in TestBoundaries() 283 verifyMapping(*tempcal, 1997, Calendar::APRIL, 5, 0, 238952.0); in TestBoundaries() 284 verifyMapping(*tempcal, 1997, Calendar::APRIL, 5, 23, 238975.0); in TestBoundaries() 285 verifyMapping(*tempcal, 1997, Calendar::APRIL, 6, 0, 238976.0); in TestBoundaries() 286 verifyMapping(*tempcal, 1997, Calendar::APRIL, 6, 1, 238977.0); in TestBoundaries() 287 verifyMapping(*tempcal, 1997, Calendar::APRIL, 6, 3, 238978.0); in TestBoundaries() 292 Calendar* utccal = Calendar::createInstance(utc, status); in TestBoundaries() [all …]
|
D | calcasts.cpp | 38 void CalendarCaseTest::doTestCases(const TestCase *cases, Calendar *cal) { in doTestCases() 87 UBool CalendarCaseTest::checkField(Calendar *cal, UCalendarDateFields field, int32_t value, UErrorC… in checkField() 162 Calendar *c = Calendar::createInstance("ar@calendar=islamic-civil", status); in IslamicCivil() 294 Calendar *c = Calendar::createInstance("he_HE@calendar=hebrew", status); in Hebrew() 379 Calendar *c = Calendar::createInstance("hi_IN@calendar=indian", status); in Indian()
|
D | dadrcal.cpp | 94 Calendar *toCalendar= NULL; in testOps() 95 Calendar *fromCalendar= NULL; in testOps() 113 fromCalendar = Calendar::createInstance(toCalLoc, status); in testOps() 260 const CalendarFieldsSet &fromSet, Calendar *fromCalendar, in testConvert() 261 const CalendarFieldsSet &toSet, Calendar *toCalendar, UBool forward) { in testConvert() 339 Calendar *toCalendar= NULL; in testConvert() 347 toCalendar = Calendar::createInstance(toCalLoc, status); in testConvert() 366 Calendar *fromCalendar= NULL; in testConvert() 370 fromCalendar = Calendar::createInstance(fromCalLoc, status); in testConvert()
|
D | caltztst.h | 51 static Calendar* fgCalendar; 58 Calendar* getCalendar(void); 59 static void releaseCalendar(Calendar *c);
|
/external/clearsilver/java-jni/ |
D | HDF.java | 6 import java.util.Calendar; 194 Calendar cal = Calendar.getInstance(timeZone); in exportDate() 197 String sec = Integer.toString(cal.get(Calendar.SECOND)); in exportDate() 200 String min = Integer.toString(cal.get(Calendar.MINUTE)); in exportDate() 204 Integer.toString(cal.get(Calendar.HOUR_OF_DAY))); in exportDate() 208 cal.get(Calendar.HOUR) == 0 ? 12 : cal.get(Calendar.HOUR))); in exportDate() 210 cal.get(Calendar.AM_PM) == Calendar.AM ? "1" : "0"); in exportDate() 212 Integer.toString(cal.get(Calendar.DAY_OF_MONTH))); in exportDate() 214 Integer.toString(cal.get(Calendar.MONTH)+1)); in exportDate() 216 Integer.toString(cal.get(Calendar.YEAR))); in exportDate() [all …]
|
/external/icu4c/samples/translit/answers/ |
D | main_1.cpp | 19 Calendar *cal; in main() 27 cal = Calendar::createInstance(greece, status); in main() 39 for (int32_t month = Calendar::JANUARY; in main() 40 month <= Calendar::DECEMBER; in main()
|
D | main_2.cpp | 19 Calendar *cal; in main() 28 cal = Calendar::createInstance(greece, status); in main() 47 for (int32_t month = Calendar::JANUARY; in main() 48 month <= Calendar::DECEMBER; in main()
|
D | main_3.cpp | 30 Calendar *cal; in main() 40 cal = Calendar::createInstance(greece, status); in main() 66 for (int32_t month = Calendar::JANUARY; in main() 67 month <= Calendar::DECEMBER; in main()
|
D | main_4.cpp | 30 Calendar *cal; in main() 41 cal = Calendar::createInstance(greece, status); in main() 70 for (int32_t month = Calendar::JANUARY; in main() 71 month <= Calendar::DECEMBER; in main()
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
D | DateUtils.java | 37 import java.util.Calendar; 81 Calendar calendar = Calendar.getInstance(); 83 calendar.set(2000, Calendar.JANUARY, 1, 0, 0, 0); 84 calendar.set(Calendar.MILLISECOND, 0); in calendar.set()
|
/external/icu4c/samples/translit/ |
D | main.cpp | 30 Calendar *cal; in main() 42 cal = Calendar::createInstance(greece, status); in main() 72 for (int32_t month = Calendar::JANUARY; in main() 73 month <= Calendar::DECEMBER; in main()
|