/external/icu/icu4c/source/i18n/ |
D | gregocal.cpp | 138 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(GregorianCalendar) 152 GregorianCalendar::GregorianCalendar(UErrorCode& status) in GregorianCalendar() function in GregorianCalendar 163 GregorianCalendar::GregorianCalendar(TimeZone* zone, UErrorCode& status) in GregorianCalendar() function in GregorianCalendar 174 GregorianCalendar::GregorianCalendar(const TimeZone& zone, UErrorCode& status) in GregorianCalendar() function in GregorianCalendar 185 GregorianCalendar::GregorianCalendar(const Locale& aLocale, UErrorCode& status) in GregorianCalendar() function in GregorianCalendar 196 GregorianCalendar::GregorianCalendar(TimeZone* zone, const Locale& aLocale, in GregorianCalendar() function in GregorianCalendar 208 GregorianCalendar::GregorianCalendar(const TimeZone& zone, const Locale& aLocale, in GregorianCalendar() function in GregorianCalendar 220 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, in GregorianCalendar() function in GregorianCalendar 235 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, in GregorianCalendar() function in GregorianCalendar 252 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, in GregorianCalendar() function in GregorianCalendar [all …]
|
D | buddhcal.cpp | 34 : GregorianCalendar(aLocale, success) in BuddhistCalendar() 44 : GregorianCalendar(source) in BuddhistCalendar() 50 GregorianCalendar::operator=(right); in operator =() 83 return GregorianCalendar::handleComputeMonthStart(eyear, month, useMonth); in handleComputeMonthStart() 88 GregorianCalendar::handleComputeFields(julianDay, status); in handleComputeFields() 99 return GregorianCalendar::handleGetLimit(field,limitType); in handleGetLimit() 111 if(era == GregorianCalendar::BC) { 114 } else if(era == GregorianCalendar::AD) {
|
D | taiwncal.cpp | 34 : GregorianCalendar(aLocale, success) in TaiwanCalendar() 44 : GregorianCalendar(source) in TaiwanCalendar() 50 GregorianCalendar::operator=(right); in operator =() 86 GregorianCalendar::handleComputeFields(julianDay, status); in handleComputeFields() 106 return GregorianCalendar::handleGetLimit(field,limitType); in handleGetLimit() 118 if(era == GregorianCalendar::BC) { 121 } else if(era == GregorianCalendar::AD) {
|
D | japancal.cpp | 294 : GregorianCalendar(aLocale, success) in JapaneseCalendar() 304 : GregorianCalendar(source) in JapaneseCalendar() 310 GregorianCalendar::operator=(right); in operator =() 381 GregorianCalendar::handleComputeFields(julianDay, status); in handleComputeFields() 494 …return GregorianCalendar::handleGetLimit(UCAL_YEAR, UCAL_LIMIT_MAXIMUM) - kEraInfo[kCurrentEra].ye… in handleGetLimit() 500 return GregorianCalendar::handleGetLimit(field,limitType); in handleGetLimit() 526 return GregorianCalendar::getActualMaximum(field, status); in getActualMaximum()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | gregocal.h | 149 class U_I18N_API GregorianCalendar: public Calendar { 169 GregorianCalendar(UErrorCode& success); 181 GregorianCalendar(TimeZone* zoneToAdopt, UErrorCode& success); 192 GregorianCalendar(const TimeZone& zone, UErrorCode& success); 203 GregorianCalendar(const Locale& aLocale, UErrorCode& success); 216 GregorianCalendar(TimeZone* zoneToAdopt, const Locale& aLocale, UErrorCode& success); 228 GregorianCalendar(const TimeZone& zone, const Locale& aLocale, UErrorCode& success); 242 GregorianCalendar(int32_t year, int32_t month, int32_t date, UErrorCode& success); 258 …GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, UErrorC… 275 …GregorianCalendar(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t… [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | CalendarRegression.java | 26 import android.icu.util.GregorianCalendar; 84 GregorianCalendar cal = new GregorianCalendar(zone); in Test4031502() 107 …java.util.GregorianCalendar cal2 = new java.util.GregorianCalendar(java.util.TimeZone.getTimeZone(… in Test4031502() 137 GregorianCalendar c = new GregorianCalendar(98, 8, 7); in Test4035301() 138 GregorianCalendar d = new GregorianCalendar(98, 8, 7); in Test4035301() 158 Calendar calendar = new GregorianCalendar(pdt); in Test4040996() 259 GregorianCalendar gc = new GregorianCalendar(icuzone); in Test4059654() 284 Calendar cal = GregorianCalendar.getInstance(TimeZone.getTimeZone("GMT"), in Test4061476() 308 Calendar cal = new GregorianCalendar(); in Test4070502() 325 GregorianCalendar cal = new GregorianCalendar(); in getAssociatedDate() [all …]
|
D | AstroTest.java | 21 import android.icu.util.GregorianCalendar; 38 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC")); in TestSolarLongitude() 91 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC")); in TestLunarPosition() 137 GregorianCalendar cal = new GregorianCalendar(1958, Calendar.AUGUST, 15); in TestCoverage() 243 GregorianCalendar cal = new GregorianCalendar(tz, Locale.US); in TestSunriseTimes() 244 GregorianCalendar cal2 = new GregorianCalendar(tz, Locale.US); in TestSunriseTimes() 326 GregorianCalendar cal3 = new GregorianCalendar(TimeZone.getTimeZone("GMT"), Locale.US); in TestBasics() 353 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0,"GMT")); in TestMoonAge()
|
D | CompatibilityTest.java | 21 import android.icu.util.GregorianCalendar; 76 GregorianCalendar cal = new GregorianCalendar(gmt); in TestGregorianChangeover() 120 GregorianCalendar cal = in TestMapping() 121 new GregorianCalendar(TimeZone.getTimeZone("UTC")); in TestMapping() 171 GregorianCalendar cal = new GregorianCalendar(); in TestMapping() 410 GregorianCalendar gc = new GregorianCalendar(zone); in TestGenericAPI() 413 gc = new GregorianCalendar(Locale.ENGLISH); in TestGenericAPI() 416 gc = new GregorianCalendar(Locale.ENGLISH); in TestGenericAPI() 419 gc = new GregorianCalendar(zone, Locale.ENGLISH); in TestGenericAPI() 422 gc = new GregorianCalendar(zone); in TestGenericAPI() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | CalendarRegression.java | 25 import com.ibm.icu.util.GregorianCalendar; 80 GregorianCalendar cal = new GregorianCalendar(zone); in Test4031502() 103 …java.util.GregorianCalendar cal2 = new java.util.GregorianCalendar(java.util.TimeZone.getTimeZone(… in Test4031502() 133 GregorianCalendar c = new GregorianCalendar(98, 8, 7); in Test4035301() 134 GregorianCalendar d = new GregorianCalendar(98, 8, 7); in Test4035301() 154 Calendar calendar = new GregorianCalendar(pdt); in Test4040996() 255 GregorianCalendar gc = new GregorianCalendar(icuzone); in Test4059654() 280 Calendar cal = GregorianCalendar.getInstance(TimeZone.getTimeZone("GMT"), in Test4061476() 304 Calendar cal = new GregorianCalendar(); in Test4070502() 321 GregorianCalendar cal = new GregorianCalendar(); in getAssociatedDate() [all …]
|
D | AstroTest.java | 20 import com.ibm.icu.util.GregorianCalendar; 34 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC")); in TestSolarLongitude() 87 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0, "UTC")); in TestLunarPosition() 133 GregorianCalendar cal = new GregorianCalendar(1958, Calendar.AUGUST, 15); in TestCoverage() 239 GregorianCalendar cal = new GregorianCalendar(tz, Locale.US); in TestSunriseTimes() 240 GregorianCalendar cal2 = new GregorianCalendar(tz, Locale.US); in TestSunriseTimes() 322 GregorianCalendar cal3 = new GregorianCalendar(TimeZone.getTimeZone("GMT"), Locale.US); in TestBasics() 349 GregorianCalendar gc = new GregorianCalendar(new SimpleTimeZone(0,"GMT")); in TestMoonAge()
|
D | CompatibilityTest.java | 20 import com.ibm.icu.util.GregorianCalendar; 72 GregorianCalendar cal = new GregorianCalendar(gmt); in TestGregorianChangeover() 116 GregorianCalendar cal = in TestMapping() 117 new GregorianCalendar(TimeZone.getTimeZone("UTC")); in TestMapping() 167 GregorianCalendar cal = new GregorianCalendar(); in TestMapping() 406 GregorianCalendar gc = new GregorianCalendar(zone); in TestGenericAPI() 409 gc = new GregorianCalendar(Locale.ENGLISH); in TestGenericAPI() 412 gc = new GregorianCalendar(Locale.ENGLISH); in TestGenericAPI() 415 gc = new GregorianCalendar(zone, Locale.ENGLISH); in TestGenericAPI() 418 gc = new GregorianCalendar(zone); in TestGenericAPI() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | GregorianCalendar.java | 170 public class GregorianCalendar extends Calendar { class 337 public GregorianCalendar() { in GregorianCalendar() method in GregorianCalendar 348 public GregorianCalendar(TimeZone zone) { in GregorianCalendar() method in GregorianCalendar 358 public GregorianCalendar(Locale aLocale) { in GregorianCalendar() method in GregorianCalendar 368 public GregorianCalendar(ULocale locale) { in GregorianCalendar() method in GregorianCalendar 379 public GregorianCalendar(TimeZone zone, Locale aLocale) { in GregorianCalendar() method in GregorianCalendar 391 public GregorianCalendar(TimeZone zone, ULocale locale) { in GregorianCalendar() method in GregorianCalendar 406 public GregorianCalendar(int year, int month, int date) { in GregorianCalendar() method in GregorianCalendar 428 public GregorianCalendar(int year, int month, int date, int hour, in GregorianCalendar() method in GregorianCalendar 455 public GregorianCalendar(int year, int month, int date, int hour, in GregorianCalendar() method in GregorianCalendar [all …]
|
D | EasterHoliday.java | 243 private Date computeInYear(Date date, GregorianCalendar cal) in computeInYear() 274 cal.set(Calendar.ERA, GregorianCalendar.AD); in computeInYear() 285 …private static GregorianCalendar gregorian = new GregorianCalendar(/* new SimpleTimeZone(0, "UTC")… 286 …private static GregorianCalendar orthodox = new GregorianCalendar(/* new SimpleTimeZone(0, "UTC") … 289 private GregorianCalendar calendar = gregorian;
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | GregorianCalendar.java | 170 public class GregorianCalendar extends Calendar { class 331 public GregorianCalendar() { in GregorianCalendar() method in GregorianCalendar 341 public GregorianCalendar(TimeZone zone) { in GregorianCalendar() method in GregorianCalendar 350 public GregorianCalendar(Locale aLocale) { in GregorianCalendar() method in GregorianCalendar 359 public GregorianCalendar(ULocale locale) { in GregorianCalendar() method in GregorianCalendar 369 public GregorianCalendar(TimeZone zone, Locale aLocale) { in GregorianCalendar() method in GregorianCalendar 380 public GregorianCalendar(TimeZone zone, ULocale locale) { in GregorianCalendar() method in GregorianCalendar 394 public GregorianCalendar(int year, int month, int date) { in GregorianCalendar() method in GregorianCalendar 415 public GregorianCalendar(int year, int month, int date, int hour, in GregorianCalendar() method in GregorianCalendar 441 public GregorianCalendar(int year, int month, int date, int hour, in GregorianCalendar() method in GregorianCalendar [all …]
|
D | EasterHoliday.java | 229 private Date computeInYear(Date date, GregorianCalendar cal) in computeInYear() 260 cal.set(Calendar.ERA, GregorianCalendar.AD); in computeInYear() 271 …private static GregorianCalendar gregorian = new GregorianCalendar(/* new SimpleTimeZone(0, "UTC")… 272 …private static GregorianCalendar orthodox = new GregorianCalendar(/* new SimpleTimeZone(0, "UTC") … 275 private GregorianCalendar calendar = gregorian;
|
/external/icu/icu4c/source/test/intltest/ |
D | calregts.cpp | 135 GregorianCalendar *cal = (GregorianCalendar*)Calendar::createInstance(status); in test4100311() 158 GregorianCalendar *cal = new GregorianCalendar(status); in test4074758() 181 GregorianCalendar *cal1 = new GregorianCalendar(status) ; in test4028518() 188 GregorianCalendar *cal2 = (GregorianCalendar*) cal1->clone() ; in test4028518() 205 LocalPointer<GregorianCalendar> cal1(new GregorianCalendar(status), status); in Test9019() 206 LocalPointer<GregorianCalendar> cal2(new GregorianCalendar(status), status); in Test9019() 232 CalendarRegressionTest::printdate(GregorianCalendar *cal, const char *string) in printdate() 262 GregorianCalendar *cl = new GregorianCalendar(tz, status); in test4031502() 276 GregorianCalendar *cal = new GregorianCalendar(zone, status); in test4031502() 303 GregorianCalendar *c = new GregorianCalendar(98, 8, 7,status); in test4035301() [all …]
|
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/dateintervalformat/ |
D | DateIntervalFormatSample.java | 19 import android.icu.util.GregorianCalendar; 41 new GregorianCalendar(2007,10,10,10,10,10).getTime(), in dtitvfmtPreDefined() 42 new GregorianCalendar(2008,10,10,10,10,10).getTime(), in dtitvfmtPreDefined() 43 new GregorianCalendar(2008,11,10,10,10,10).getTime(), in dtitvfmtPreDefined() 44 new GregorianCalendar(2008,11,10,15,10,10).getTime(), in dtitvfmtPreDefined() 84 new GregorianCalendar(2007,9,10,10,10,10).getTime(), in dtitvfmtCustomized() 85 new GregorianCalendar(2007,10,10,10,10,10).getTime(), in dtitvfmtCustomized() 86 new GregorianCalendar(2007,10,10,22,10,10).getTime(), in dtitvfmtCustomized()
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/dateintervalformat/ |
D | DateIntervalFormatSample.java | 18 import com.ibm.icu.util.GregorianCalendar; 40 new GregorianCalendar(2007,10,10,10,10,10).getTime(), in dtitvfmtPreDefined() 41 new GregorianCalendar(2008,10,10,10,10,10).getTime(), in dtitvfmtPreDefined() 42 new GregorianCalendar(2008,11,10,10,10,10).getTime(), in dtitvfmtPreDefined() 43 new GregorianCalendar(2008,11,10,15,10,10).getTime(), in dtitvfmtPreDefined() 83 new GregorianCalendar(2007,9,10,10,10,10).getTime(), in dtitvfmtCustomized() 84 new GregorianCalendar(2007,10,10,10,10,10).getTime(), in dtitvfmtCustomized() 85 new GregorianCalendar(2007,10,10,22,10,10).getTime(), in dtitvfmtCustomized()
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
D | XMPDateTimeFactory.java | 14 import java.util.GregorianCalendar; 100 return new XMPDateTimeImpl(new GregorianCalendar()); in getCurrentDateTime() 131 GregorianCalendar cal = new GregorianCalendar(UTC); in convertToUTCTime() 149 GregorianCalendar cal = new GregorianCalendar(); in convertToLocalTime()
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | XMPDateTimeImpl.java | 14 import java.util.GregorianCalendar; 74 GregorianCalendar intCalendar = in XMPDateTimeImpl() 75 (GregorianCalendar) Calendar.getInstance(Locale.US); in XMPDateTimeImpl() 100 GregorianCalendar calendar = new GregorianCalendar(timeZone); in XMPDateTimeImpl() 316 GregorianCalendar calendar = (GregorianCalendar) Calendar.getInstance(Locale.US); in getCalendar()
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_TimeZone.java | 21 import java.util.GregorianCalendar; 54 GregorianCalendar cal = new GregorianCalendar(); in inDaylightTime()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
D | TimeZoneRegression.java | 29 import android.icu.util.GregorianCalendar; 183 GregorianCalendar testCal = (GregorianCalendar)Calendar.getInstance(); in Test4109314() 214 boolean checkCalendar314(GregorianCalendar testCal, TimeZone testTZ) { in checkCalendar314() 563 final int GOOD_ERA=GregorianCalendar.AD, GOOD_YEAR=1998, GOOD_MONTH=Calendar.AUGUST; in Test4154650() 568 GOOD, GregorianCalendar.BC, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME, in Test4154650() 569 GOOD, GregorianCalendar.AD, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME, in Test4154650() 570 BAD, GregorianCalendar.BC-1, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME, in Test4154650() 571 BAD, GregorianCalendar.AD+1, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME, in Test4154650() 764 int off = tz.getOffset(GregorianCalendar.AD, in Test4162593() 808 GregorianCalendar cal = new GregorianCalendar(); in Test4173604() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneRegression.java | 28 import com.ibm.icu.util.GregorianCalendar; 179 GregorianCalendar testCal = (GregorianCalendar)Calendar.getInstance(); in Test4109314() 210 boolean checkCalendar314(GregorianCalendar testCal, TimeZone testTZ) { in checkCalendar314() 559 final int GOOD_ERA=GregorianCalendar.AD, GOOD_YEAR=1998, GOOD_MONTH=Calendar.AUGUST; in Test4154650() 564 GOOD, GregorianCalendar.BC, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME, in Test4154650() 565 GOOD, GregorianCalendar.AD, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME, in Test4154650() 566 BAD, GregorianCalendar.BC-1, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME, in Test4154650() 567 BAD, GregorianCalendar.AD+1, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME, in Test4154650() 760 int off = tz.getOffset(GregorianCalendar.AD, in Test4162593() 804 GregorianCalendar cal = new GregorianCalendar(); in Test4173604() [all …]
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
D | DateFormatTest.java | 43 java.util.GregorianCalendar gcal = new java.util.GregorianCalendar(); in setUp() 45 gcal.set(java.util.GregorianCalendar.YEAR, 1990); in setUp() 46 gcal.set(java.util.GregorianCalendar.MONTH, java.util.GregorianCalendar.DECEMBER); in setUp() 47 gcal.set(java.util.GregorianCalendar.DATE, 17); in setUp() 48 gcal.set(java.util.GregorianCalendar.HOUR, 5); in setUp() 49 gcal.set(java.util.GregorianCalendar.MINUTE, 17); in setUp()
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/ |
D | EpochOffsets.java | 16 import com.ibm.icu.util.GregorianCalendar; 79 GregorianCalendar cal = new GregorianCalendar(utc, Locale.ENGLISH); in main()
|