/libcore/luni/src/test/java/libcore/java/util/ |
OldGregorianCalendarTest.java | 22 import java.util.GregorianCalendar; 30 // Test for method java.util.GregorianCalendar(java.util.TimeZone, java.util.Locale) 33 GregorianCalendar gc1 = new GregorianCalendar(TimeZone.getTimeZone("GMT+1"), Locale.FRANCE); 35 GregorianCalendar gc2 = new GregorianCalendar(TimeZone.getTimeZone("GMT+2"), Locale.US); 42 GregorianCalendar g1 = new GregorianCalendar(TimeZone.getTimeZone("Europe/Moscow")); 55 GregorianCalendar g = new GregorianCalendar( [all...] |
CalendarTest.java | 20 import java.util.GregorianCalendar; 53 Calendar calendar = new GregorianCalendar(AMERICA_SAO_PAULO); 69 Calendar calendar = new GregorianCalendar(AMERICA_SAO_PAULO); 78 Calendar calendar = new GregorianCalendar(AMERICA_SAO_PAULO); 87 Calendar calendar = new GregorianCalendar(AMERICA_SAO_PAULO); 96 Calendar calendar = new GregorianCalendar(AMERICA_SAO_PAULO); 105 Calendar calendar = new GregorianCalendar(AMERICA_SAO_PAULO); 114 Calendar calendar = new GregorianCalendar(AUSTRALIA_LORD_HOWE); 125 Calendar calendar = new GregorianCalendar(AUSTRALIA_LORD_HOWE); 149 Calendar calendar = new GregorianCalendar(timeZone) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
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(1972, Calendar.OCTOBER, 13) [all...] |
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(1998, Calendar.OCTOBER, 13, 19, 9 [all...] |
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(1998, Calendar.NOVEMBER, 11) [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
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 { 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 object construction [all...] |
/external/icu4c/i18n/unicode/ |
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 { 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 object construction [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
gregocal.cpp | 51 // class GregorianCalendar 138 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(GregorianCalendar) 145 //const UDate GregorianCalendar::kPapalCutover = -12219292800000L; 152 GregorianCalendar::GregorianCalendar(UErrorCode& status) 163 GregorianCalendar::GregorianCalendar(TimeZone* zone, UErrorCode& status) 174 GregorianCalendar::GregorianCalendar(const TimeZone& zone, UErrorCode& status) 185 GregorianCalendar::GregorianCalendar(const Locale& aLocale, UErrorCode& status [all...] |
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) {
|
/external/icu4c/i18n/ |
gregocal.cpp | 51 // class GregorianCalendar 138 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(GregorianCalendar) 145 //const UDate GregorianCalendar::kPapalCutover = -12219292800000L; 152 GregorianCalendar::GregorianCalendar(UErrorCode& status) 163 GregorianCalendar::GregorianCalendar(TimeZone* zone, UErrorCode& status) 174 GregorianCalendar::GregorianCalendar(const TimeZone& zone, UErrorCode& status) 185 GregorianCalendar::GregorianCalendar(const Locale& aLocale, UErrorCode& status [all...] |
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) {
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_TimeZone.java | 21 import java.util.GregorianCalendar; 55 GregorianCalendar cal = new GregorianCalendar();
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1Time.java | 27 import java.util.GregorianCalendar; 44 GregorianCalendar c = new GregorianCalendar(TimeZone.getTimeZone("GMT"));
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
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(1999, Calendar.NOVEMBER, 12, 4, 0), " 4" [all...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/ |
XMPDateTimeFactory.java | 14 import java.util.GregorianCalendar; 100 return new XMPDateTimeImpl(new GregorianCalendar()); 131 GregorianCalendar cal = new GregorianCalendar(UTC); 149 GregorianCalendar cal = new GregorianCalendar();
|
/libcore/luni/src/main/java/java/util/ |
Date.java | 72 * @deprecated Use {@link GregorianCalendar#GregorianCalendar(int, int, int)} instead. 76 GregorianCalendar cal = new GregorianCalendar(false); 96 * @deprecated Use {@link GregorianCalendar#GregorianCalendar(int, int, int, int, int)} instead. 100 GregorianCalendar cal = new GregorianCalendar(false); 122 * @deprecated Use {@link GregorianCalendar#GregorianCalendar(int, int, int, int, int, int) [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
DateTest.java | 22 import java.util.GregorianCalendar; 33 GregorianCalendar gc = new GregorianCalendar(1998, Calendar.OCTOBER, 54 Calendar cal = new GregorianCalendar(1999, Calendar.JUNE, 22); 210 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) 220 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) 230 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) 240 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) 250 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9) 260 Date d = new GregorianCalendar(1998, Calendar.OCTOBER, 13, 19, 9 [all...] |
/external/javassist/sample/evolve/ |
WebPage.java | 13 Calendar c = new GregorianCalendar();
|
/external/javassist/sample/evolve/sample/evolve/ |
WebPage.java | 14 Calendar c = new GregorianCalendar();
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
SmsProviderTest.java | 27 import java.util.GregorianCalendar; 42 Long.toString(new GregorianCalendar(1970, 1, 1, 0, 0, 0).getTimeInMillis()), 43 Long.toString(new GregorianCalendar(1971, 2, 13, 16, 35, 3).getTimeInMillis()), 44 Long.toString(new GregorianCalendar(1978, 10, 22, 0, 1, 0).getTimeInMillis()), 45 Long.toString(new GregorianCalendar(1980, 1, 11, 10, 22, 30).getTimeInMillis()),
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssService.java | 38 import java.util.GregorianCalendar; 51 private GregorianCalendar mLastCheckedTime; // Time we last checked our feeds. 79 mLastCheckedTime = new GregorianCalendar(); 123 GregorianCalendar nextCheckTime = new GregorianCalendar(); 124 nextCheckTime = (GregorianCalendar) mLastCheckedTime.clone(); 125 nextCheckTime.add(GregorianCalendar.MINUTE, UPDATE_FREQUENCY_IN_MINUTES); 132 long timeTillNextUpdate = mLastCheckedTime.getTimeInMillis() - GregorianCalendar.getInstance().getTimeInMillis(); 176 GregorianCalendar feedPubDate = parseRssDocPubDate(rssFeed); 177 GregorianCalendar lastUpdated = new GregorianCalendar() [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/ |
GeomagneticFieldTest.java | 23 import java.util.GregorianCalendar; 30 private static final long TEST_TIME = new GregorianCalendar(2010, 5, 1).getTimeInMillis();
|
/cts/tests/tests/holo/src/android/holo/cts/modifiers/ |
CalendarViewModifier.java | 24 import java.util.GregorianCalendar; 59 Calendar cal = new GregorianCalendar(TZ);
|
/external/icu4c/samples/datecal/ |
cal.cpp | 20 GregorianCalendar* gc = new GregorianCalendar(status); 22 puts("Couldn't create GregorianCalendar");
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldSimpleDateFormatTest.java | 26 import java.util.GregorianCalendar; 235 Calendar cal = new GregorianCalendar(1999, Calendar.JUNE, 2, 15, 3, 6); 239 test.test(" G", new GregorianCalendar(-1999, Calendar.JUNE, 2), " BC", 243 test.test(" M", new GregorianCalendar(1999, Calendar.NOVEMBER, 2), 251 test.test(" d", new GregorianCalendar(1999, Calendar.NOVEMBER, 12), 257 test.test(" h", new GregorianCalendar(1999, Calendar.NOVEMBER, 12), 264 new GregorianCalendar(1999, Calendar.NOVEMBER, 12, 4, 0), " 4", 266 test.test(" H", new GregorianCalendar(1999, Calendar.NOVEMBER, 12, 12, 268 test.test(" H", new GregorianCalendar(1999, Calendar.NOVEMBER, 12), 274 test.test(" m", new GregorianCalendar(1999, Calendar.NOVEMBER, 12, 4 [all...] |