/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
H A D | GregorianCalendarTest.java | 23 import java.util.GregorianCalendar; 32 * @tests java.util.GregorianCalendar#GregorianCalendar() 35 // Test for method java.util.GregorianCalendar() 36 assertTrue("Constructed incorrect calendar", (new GregorianCalendar() 41 * @tests java.util.GregorianCalendar#GregorianCalendar(int, int, int) 44 // Test for method java.util.GregorianCalendar(int, int, int) 45 GregorianCalendar gc = new GregorianCalendar(197 [all...] |
H A D | DateTest.java | 22 import java.util.GregorianCalendar; 48 GregorianCalendar gc = new GregorianCalendar(1998, Calendar.OCTOBER, 69 Calendar cal = new GregorianCalendar(1999, Calendar.JUNE, 22); 206 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) 216 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) 226 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) 236 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) 246 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) 256 Date d = new GregorianCalendar(199 [all...] |
H A D | SimpleTimeZoneTest.java | 22 import java.util.GregorianCalendar; 57 .inDaylightTime(new GregorianCalendar(1998, Calendar.NOVEMBER, 60 .inDaylightTime(new GregorianCalendar(1998, Calendar.OCTOBER, 78 .inDaylightTime(new GregorianCalendar(1998, Calendar.NOVEMBER, 81 .inDaylightTime(new GregorianCalendar(1998, Calendar.OCTOBER, 194 GregorianCalendar.AD, 1998, Calendar.NOVEMBER, 11, 199 .getOffset(GregorianCalendar.AD, 1998, Calendar.JUNE, 11, 262 GregorianCalendar gc = new GregorianCalendar(1998, Calendar.JUNE, 11); 265 gc = new GregorianCalendar(199 [all...] |
/external/icu4c/i18n/unicode/ |
H A D | gregocal.h | 72 * <p>Example for using GregorianCalendar: 93 * // create a GregorianCalendar with the Pacific Daylight time zone 95 * Calendar* calendar = new GregorianCalendar( pdt, success ); 149 class U_I18N_API GregorianCalendar: public Calendar { class in inherits:Calendar 153 * Useful constants for GregorianCalendar and TimeZone. 162 * Constructs a default GregorianCalendar using the current time in the default time 165 * @param success Indicates the status of GregorianCalendar object construction. 169 GregorianCalendar(UErrorCode& success); 172 * Constructs a GregorianCalendar based on the current time in the given time zone 177 * @param success Indicates the status of GregorianCalendar objec [all...] |
/external/icu4c/i18n/ |
H A D | gregocal.cpp | 51 // class GregorianCalendar 138 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(GregorianCalendar) 145 //const UDate GregorianCalendar::kPapalCutover = -12219292800000L; 152 GregorianCalendar::GregorianCalendar(UErrorCode& status) function in class:GregorianCalendar 163 GregorianCalendar::GregorianCalendar(TimeZone* zone, UErrorCode& status) function in class:GregorianCalendar 174 GregorianCalendar::GregorianCalendar(const TimeZone& zone, UErrorCode& status) function in class:GregorianCalendar 185 GregorianCalendar function in class:GregorianCalendar 196 GregorianCalendar::GregorianCalendar(TimeZone* zone, const Locale& aLocale, function in class:GregorianCalendar 208 GregorianCalendar::GregorianCalendar(const TimeZone& zone, const Locale& aLocale, function in class:GregorianCalendar 220 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, function in class:GregorianCalendar 235 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, function in class:GregorianCalendar 252 GregorianCalendar::GregorianCalendar(int32_t year, int32_t month, int32_t date, function in class:GregorianCalendar 277 GregorianCalendar::GregorianCalendar(const GregorianCalendar &source) function in class:GregorianCalendar [all...] |
H A D | buddhcal.cpp | 34 : GregorianCalendar(aLocale, success) 44 : GregorianCalendar(source) 50 GregorianCalendar::operator=(right); 83 return GregorianCalendar::handleComputeMonthStart(eyear, month, useMonth); 88 GregorianCalendar::handleComputeFields(julianDay, status); 99 return GregorianCalendar::handleGetLimit(field,limitType); 111 if(era == GregorianCalendar::BC) { 114 } else if(era == GregorianCalendar::AD) {
|
H A D | taiwncal.cpp | 34 : GregorianCalendar(aLocale, success) 44 : GregorianCalendar(source) 50 GregorianCalendar::operator=(right); 86 GregorianCalendar::handleComputeFields(julianDay, status); 106 return GregorianCalendar::handleGetLimit(field,limitType); 118 if(era == GregorianCalendar::BC) { 121 } else if(era == GregorianCalendar::AD) {
|
H A D | japancal.cpp | 294 : GregorianCalendar(aLocale, success) 304 : GregorianCalendar(source) 310 GregorianCalendar::operator=(right); 381 GregorianCalendar::handleComputeFields(julianDay, status); 494 return GregorianCalendar::handleGetLimit(UCAL_YEAR, UCAL_LIMIT_MAXIMUM) - kEraInfo[kCurrentEra].year; 500 return GregorianCalendar::handleGetLimit(field,limitType); 526 return GregorianCalendar::getActualMaximum(field, status);
|
H A D | buddhcal.h | 31 * <code>BuddhistCalendar</code> is a subclass of <code>GregorianCalendar</code> 47 class BuddhistCalendar : public GregorianCalendar {
|
H A D | japancal.h | 31 * <code>JapaneseCalendar</code> is a subclass of <code>GregorianCalendar</code> 56 class JapaneseCalendar : public GregorianCalendar {
|
H A D | taiwncal.h | 32 * <code>TaiwanCalendar</code> is a subclass of <code>GregorianCalendar</code> 43 class TaiwanCalendar : public GregorianCalendar {
|
/external/apache-harmony/support/src/test/java/tests/support/ |
H A D | Support_TimeZone.java | 21 import java.util.GregorianCalendar; 55 GregorianCalendar cal = new GregorianCalendar();
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
H A D | SimpleDateFormatTest.java | 27 import java.util.GregorianCalendar; 341 Calendar cal = new GregorianCalendar(1999, Calendar.JUNE, 2, 15, 3, 6); 345 test.test(" G", new GregorianCalendar(-1999, Calendar.JUNE, 2), " BC", 350 test.test(" yy", new GregorianCalendar(2001, Calendar.JUNE, 2), " 01", 352 test.test(" yy", new GregorianCalendar(2000, Calendar.JUNE, 2), " 00", 354 test.test(" yyy", new GregorianCalendar(2000, Calendar.JUNE, 2), " 2000", 361 test.test(" M", new GregorianCalendar(1999, Calendar.NOVEMBER, 2), 370 test.test(" d", new GregorianCalendar(1999, Calendar.NOVEMBER, 12), 376 test.test(" h", new GregorianCalendar(1999, Calendar.NOVEMBER, 12), 383 new GregorianCalendar(199 [all...] |
H A D | Support_MessageFormat.java | 25 import java.util.GregorianCalendar; 51 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); 78 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime();
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
H A D | XMPDateTimeFactory.java | 14 import java.util.GregorianCalendar; 100 return new XMPDateTimeImpl(new GregorianCalendar()); 131 GregorianCalendar cal = new GregorianCalendar(UTC); 149 GregorianCalendar cal = new GregorianCalendar();
|
/external/javassist/sample/evolve/ |
H A D | WebPage.java | 13 Calendar c = new GregorianCalendar();
|
/external/javassist/sample/evolve/sample/evolve/ |
H A D | WebPage.java | 14 Calendar c = new GregorianCalendar();
|
/external/icu4c/samples/datecal/ |
H A D | cal.cpp | 20 GregorianCalendar* gc = new GregorianCalendar(status); 22 puts("Couldn't create GregorianCalendar");
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
H A D | XMPDateTimeImpl.java | 14 import java.util.GregorianCalendar; 74 GregorianCalendar intCalendar = 75 (GregorianCalendar) Calendar.getInstance(Locale.US); 100 GregorianCalendar calendar = new GregorianCalendar(timeZone); 316 GregorianCalendar calendar = (GregorianCalendar) Calendar.getInstance(Locale.US);
|
/external/icu4c/test/intltest/ |
H A D | tzregts.h | 49 UBool checkCalendar314(GregorianCalendar *testCal, TimeZone *testTZ);
|
H A D | calregts.cpp | 131 GregorianCalendar *cal = (GregorianCalendar*)Calendar::createInstance(status); 154 GregorianCalendar *cal = new GregorianCalendar(status); 160 failure(status, "new GregorianCalendar"); 177 GregorianCalendar *cal1 = new GregorianCalendar(status) ; 183 failure(status, "new GregorianCalendar"); 184 GregorianCalendar *cal2 = (GregorianCalendar*) cal [all...] |
H A D | calregts.h | 76 void printdate(GregorianCalendar *cal, const char *string);
|
H A D | caltest.cpp | 465 GregorianCalendar *gc = new GregorianCalendar(*zone, status); 466 if (failure(status, "new GregorianCalendar")) return; 469 gc = new GregorianCalendar(Locale::getEnglish(), status); 470 if (failure(status, "new GregorianCalendar")) return; 473 gc = new GregorianCalendar(Locale::getEnglish(), status); 476 gc = new GregorianCalendar(*zone, Locale::getEnglish(), status); 477 if (failure(status, "new GregorianCalendar")) return; 480 gc = new GregorianCalendar(zone, status); 481 if (failure(status, "new GregorianCalendar")) retur [all...] |
H A D | astrotst.cpp | 151 GregorianCalendar *cal = new GregorianCalendar(1958, UCAL_AUGUST, 15,status); 270 GregorianCalendar *cal = new GregorianCalendar(tz->clone(), Locale::getUS(), status); 271 GregorianCalendar *cal2 = new GregorianCalendar(tz->clone(), Locale::getUS(), status); 382 GregorianCalendar *cal3 = new GregorianCalendar(TimeZone::getGMT()->clone(), Locale::getUS(), status);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
H A D | ConsoleTest.java | 32 import java.util.GregorianCalendar; 78 Calendar c = new GregorianCalendar(1983, 2, 21);
|