/libcore/luni/src/main/java/javax/xml/datatype/ |
XMLGregorianCalendar.java | 24 import java.util.GregorianCalendar; 157 * <li>conversion between this class and {@link GregorianCalendar}, 213 * {@link DatatypeFactory#newXMLGregorianCalendar(GregorianCalendar cal)}, [all...] |
Duration.java | 26 import java.util.GregorianCalendar; 371 Calendar cal = new GregorianCalendar(); 535 * a {@link java.util.GregorianCalendar}, then the duration 562 Calendar cal = new GregorianCalendar(); [all...] |
/external/icu4c/i18n/ |
buddhcal.h | 31 * <code>BuddhistCalendar</code> is a subclass of <code>GregorianCalendar</code> 47 class BuddhistCalendar : public GregorianCalendar {
|
japancal.h | 31 * <code>JapaneseCalendar</code> is a subclass of <code>GregorianCalendar</code> 56 class JapaneseCalendar : public GregorianCalendar {
|
taiwncal.h | 32 * <code>TaiwanCalendar</code> is a subclass of <code>GregorianCalendar</code> 43 class TaiwanCalendar : public GregorianCalendar {
|
/external/icu4c/test/intltest/ |
tzregts.h | 49 UBool checkCalendar314(GregorianCalendar *testCal, TimeZone *testTZ);
|
calregts.h | 75 void printdate(GregorianCalendar *cal, const char *string);
|
caltest.cpp | 450 GregorianCalendar *gc = new GregorianCalendar(*zone, status); 451 if (failure(status, "new GregorianCalendar")) return; 454 gc = new GregorianCalendar(Locale::getEnglish(), status); 455 if (failure(status, "new GregorianCalendar")) return; 458 gc = new GregorianCalendar(Locale::getEnglish(), status); 461 gc = new GregorianCalendar(*zone, Locale::getEnglish(), status); 462 if (failure(status, "new GregorianCalendar")) return; 465 gc = new GregorianCalendar(zone, status); 466 if (failure(status, "new GregorianCalendar")) return [all...] |
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);
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
GeomagneticFieldTest.java | 27 import java.util.GregorianCalendar; 35 private static final long TEST_TIME = new GregorianCalendar(2010, 5, 1).getTimeInMillis();
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
PhoneCallDetailsHelperTest.java | 33 import java.util.GregorianCalendar; 44 new GregorianCalendar(2011, 5, 3, 13, 0, 0).getTimeInMillis(); 73 new GregorianCalendar(2011, 5, 4, 13, 0, 0).getTimeInMillis()); 129 new GregorianCalendar(2011, 5, 3, 13, 0, 0).getTimeInMillis()); 132 new GregorianCalendar(2011, 5, 3, 13, 0, 0).getTimeInMillis()); 136 new GregorianCalendar(2011, 5, 3, 12, 0, 0).getTimeInMillis()); 140 new GregorianCalendar(2011, 5, 2, 13, 0, 0).getTimeInMillis()); 144 new GregorianCalendar(2011, 5, 1, 13, 0, 0).getTimeInMillis());
|
/libcore/luni/src/main/java/java/util/zip/ |
ZipEntry.java | 26 import java.util.GregorianCalendar; 159 GregorianCalendar cal = new GregorianCalendar(); 275 GregorianCalendar cal = new GregorianCalendar();
|
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
CalendarUtilitiesTests.java | 48 import java.util.GregorianCalendar; 192 GregorianCalendar cal = new GregorianCalendar(); 207 GregorianCalendar cal = new GregorianCalendar(); 601 GregorianCalendar calendar = new GregorianCalendar(tz); 607 GregorianCalendar transitionCalendar = 631 calendar = new GregorianCalendar(tz); [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
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();
|
/libcore/support/src/test/java/tests/support/ |
Support_MessageFormat.java | 25 import java.util.GregorianCalendar; 50 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); 77 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime();
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
ConsoleTest.java | 32 import java.util.GregorianCalendar; 78 Calendar c = new GregorianCalendar(1983, 2, 21);
|
/libcore/luni/src/main/java/java/util/ |
GregorianCalendar.java | 25 * {@code GregorianCalendar} is a concrete subclass of {@link Calendar} 40 * this correctly. Before the Gregorian cutover, {@code GregorianCalendar} 47 * {@code GregorianCalendar} implements <em>proleptic</em> Gregorian 50 * {@code GregorianCalendar} may be used for all years to generate 52 * {@code GregorianCalendar} are historically accurate only from March 1, 124 * // create a GregorianCalendar with the Pacific Daylight time zone 126 * Calendar calendar = new GregorianCalendar(pdt); 184 public class GregorianCalendar extends Calendar { 235 * Constructs a new {@code GregorianCalendar} initialized to the current date and 238 public GregorianCalendar() { [all...] |
SimpleTimeZone.java | 36 * @see GregorianCalendar 336 if (era != GregorianCalendar.BC && era != GregorianCalendar.AD) { 344 if (!useDaylightTime() || era != GregorianCalendar.AD || year < startYear) { 368 daysInMonth = GregorianCalendar.DaysInMonth[startMonth]; 411 daysInMonth = GregorianCalendar.DaysInMonth[endMonth]; 446 ruleDay += GregorianCalendar.DaysInMonth[ruleMonth]; 471 return getOffset(GregorianCalendar.AD, fields[0], fields[1], fields[2], 562 if (day <= 0 || day > GregorianCalendar.DaysInMonth[month]) { [all...] |
/libcore/luni/src/test/java/libcore/java/sql/ |
OldResultSetGetterTests.java | 33 import java.util.GregorianCalendar; 411 GregorianCalendar testCal = new GregorianCalendar(1799, Calendar.MAY, 26, 0, 0); 431 GregorianCalendar testCal = new GregorianCalendar(1799, Calendar.MAY, 26, 0, 0); 453 GregorianCalendar testCal = new GregorianCalendar(1799, Calendar.MAY, 26, 0, 0); 473 GregorianCalendar testCal = new GregorianCalendar(1799, Calendar.MAY, 26, 0, 0); 926 Calendar cal = new GregorianCalendar(); [all...] |
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 29 import java.util.GregorianCalendar;
70 Calendar c = new GregorianCalendar(TimeZone.getTimeZone("GMT+0"));
|
/packages/apps/Phone/src/com/android/phone/ |
DataUsageListener.java | 34 import java.util.GregorianCalendar; 82 mStart = GregorianCalendar.getInstance(); 83 mEnd = GregorianCalendar.getInstance(); 161 long currentTime = GregorianCalendar.getInstance().getTimeInMillis()
|
/libcore/luni/src/test/java/libcore/java/text/ |
SimpleDateFormatTest.java | 24 import java.util.GregorianCalendar; 186 Calendar calendar = new GregorianCalendar(AMERICA_LOS_ANGELES); 194 Calendar calendar = new GregorianCalendar(AMERICA_LOS_ANGELES); 203 Calendar calendar = new GregorianCalendar(AUSTRALIA_LORD_HOWE); 211 Calendar calendar = new GregorianCalendar(AUSTRALIA_LORD_HOWE);
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
NotificationBuilderTest.java | 19 import java.util.GregorianCalendar; 196 GregorianCalendar c = new GregorianCalendar(); 197 c.set(GregorianCalendar.HOUR_OF_DAY, 0); 198 c.set(GregorianCalendar.MINUTE, 0); 199 c.set(GregorianCalendar.SECOND, 0);
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 33 import java.util.GregorianCalendar; 169 Calendar calendar = new GregorianCalendar(YEAR, MONTH, DAY); 181 Calendar calendar = new GregorianCalendar(TimeZone.getTimeZone("GMT+00:00"));
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TimeZoneTest.java | 24 import java.util.GregorianCalendar; 79 long time1 = new GregorianCalendar(1998, Calendar.NOVEMBER, 11) 84 long time2 = new GregorianCalendar(1998, Calendar.JUNE, 11)
|