HomeSort by relevance Sort by last modified time
    Searched refs:GregorianCalendar (Results 51 - 75 of 109) sorted by null

1 23 4 5

  /external/icu4c/test/intltest/
tztest.cpp 165 GregorianCalendar *gc = new GregorianCalendar(*zone, status);
166 if (failure(status, "new GregorianCalendar", TRUE)) return;
173 if (failure(status, "GregorianCalendar::getTime")) return;
183 gc = new GregorianCalendar(*zone, status);
184 if (failure(status, "new GregorianCalendar")) return;
339 GregorianCalendar *gc = new GregorianCalendar(status);
340 if (U_FAILURE(status)) { errln("FAIL: Couldn't create GregorianCalendar"); return; }
342 if (U_FAILURE(status)) { errln("FAIL: GregorianCalendar::setTime failed"); return;
    [all...]
tzregts.cpp 140 GregorianCalendar cal(1997, UCAL_JANUARY, 31, status);
145 failure(status, "new GregorianCalendar");
311 GregorianCalendar *testCal = (GregorianCalendar*)Calendar::createInstance(status);
350 TimeZoneRegressionTest::checkCalendar314(GregorianCalendar *testCal, TimeZone *testTZ)
353 // GregorianCalendar testCal = (GregorianCalendar)aCal.clone();
766 const int32_t GOOD_ERA = GregorianCalendar::AD, GOOD_YEAR = 1998, GOOD_MONTH = UCAL_AUGUST;
772 GOOD, GregorianCalendar::BC, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME,
773 GOOD, GregorianCalendar::AD, GOOD_YEAR, GOOD_MONTH, GOOD_DAY, GOOD_DOW, GOOD_TIME
    [all...]
incaltst.cpp 154 // As of JDK 1.4.1_01, using the Sun JDK GregorianCalendar as
226 GregorianCalendar::AD, 1868, 1868, UCAL_SEPTEMBER, 8,
227 GregorianCalendar::AD, 1868, 1868, UCAL_SEPTEMBER, 9,
228 GregorianCalendar::AD, 1869, 1869, UCAL_JUNE, 4,
229 GregorianCalendar::AD, 1912, 1912, UCAL_JULY, 29,
230 GregorianCalendar::AD, 1912, 1912, UCAL_JULY, 30,
231 GregorianCalendar::AD, 1912, 1912, UCAL_AUGUST, 1,
260 * behaves like GregorianCalendar.
310 * behaves like GregorianCalendar.
362 * behaves like GregorianCalendar
    [all...]
dtfmrgts.cpp 357 Calendar *cal = new GregorianCalendar(status);
358 failure(status, "new GregorianCalendar");
932 GregorianCalendar *gc = new GregorianCalendar(status);
933 failure(status, "new GregorianCalendar");
    [all...]
tzbdtest.cpp 209 GregorianCalendar *gc = new GregorianCalendar(time_zone->clone(), status);
211 if (failure(status, "GregorianCalendar::setTime")) return;
217 if (failure(status, "GregorianCalendar::get")) return;
  /external/icu4c/i18n/
ucal.cpp 250 GregorianCalendar *gregocal = dynamic_cast<GregorianCalendar *>(cpp_cal);
252 // because we really want to work only with a GregorianCalendar, not with
254 if(typeid(*cpp_cal) != typeid(GregorianCalendar)) {
267 const GregorianCalendar *gregocal = dynamic_cast<const GregorianCalendar *>(cpp_cal);
270 if(typeid(*cpp_cal) != typeid(GregorianCalendar)) {
simpletz.cpp 445 if ((era != GregorianCalendar::AD && era != GregorianCalendar::BC)
465 if(!useDaylight || year < startYear || era != GregorianCalendar::AD)
521 savingsDST = getOffset(GregorianCalendar::AD, year, month, dom,
549 savingsDST = getOffset(GregorianCalendar::AD, year, month, dom,
719 // This method is wasteful since it creates a new GregorianCalendar and
723 GregorianCalendar *gc = new GregorianCalendar(*this, status);
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/header/
SIPDate.java 34 import java.util.GregorianCalendar;
168 new GregorianCalendar(
357 new GregorianCalendar(
  /libcore/luni/src/main/java/java/util/
Calendar.java 66 * {@code GregorianCalendar} interprets {@code MONTH} ==
68 * non-lenient {@code GregorianCalendar} throws an exception when given
71 * {@code GregorianCalendar} always produces {@code DAY_OF_MONTH}
176 * <em>Example</em>: Consider a {@code GregorianCalendar} originally
216 * <em>Example</em>: Consider a {@code GregorianCalendar} originally
221 * 31 in September in a {@code GregorianCalendar}, <strong>add rule 2</strong>
225 * {@code GregorianCalendar}.
240 * <em>Example</em>: Consider a {@code GregorianCalendar} originally
244 * {@code MONTH} field to April. Using a {@code GregorianCalendar},
250 * <em>Example</em>: Consider a {@code GregorianCalendar} originall
    [all...]
  /packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/
DownloadAdapter.java 39 import java.util.GregorianCalendar;
127 Calendar today = new GregorianCalendar();
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
Utility.java 79 import java.util.GregorianCalendar;
349 GregorianCalendar cal = parseDateTimeToCalendar(date);
354 * Generate a GregorianCalendar from a date string that represents a date/time in GMT
356 * @return the GregorianCalendar
358 public static GregorianCalendar parseDateTimeToCalendar(String date) {
359 GregorianCalendar cal = new GregorianCalendar(Integer.parseInt(date.substring(0, 4)),
373 GregorianCalendar cal = new GregorianCalendar(Integer.parseInt(date.substring(0, 4)),
    [all...]
  /development/samples/NotePad/tests/src/com/example/android/notepad/
NotePadProviderTest.java 35 import java.util.GregorianCalendar;
77 private static final GregorianCalendar TEST_CALENDAR =
78 new GregorianCalendar(2010, Calendar.JANUARY, 1, 0, 0, 0);
    [all...]
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
Support_SimpleDateFormat.java 26 import java.util.GregorianCalendar;
52 Calendar cal = new GregorianCalendar(tz);
139 Calendar cal = new GregorianCalendar(tz);
  /packages/apps/Exchange/tests/src/com/android/exchange/adapter/
EmailSyncAdapterTests.java 38 import java.util.GregorianCalendar;
85 GregorianCalendar calendar = new GregorianCalendar(TimeZone.getTimeZone("GMT"));
  /development/apps/Development/src/com/android/development/
EnterURL.java 41 import java.util.GregorianCalendar;
302 new GregorianCalendar());
  /external/icu4c/tools/tzcode/
icuzdump.cpp 191 GregorianCalendar* gcal = new GregorianCalendar(timezone, Locale::getEnglish(), status);
  /frameworks/base/core/java/android/text/format/
DateFormat.java 29 import java.util.GregorianCalendar;
418 Calendar c = new GregorianCalendar();
  /libcore/luni/src/main/java/javax/xml/datatype/
DatatypeFactory.java 24 import java.util.GregorianCalendar;
189 * <p>The default start instance is defined by {@link GregorianCalendar}'s use of the start of the epoch: i.e.,
363 * <p>The default start instance is defined by {@link GregorianCalendar}'s use of the start of the epoch: i.e.,
575 * <p>The default start instance is defined by {@link GregorianCalendar}'s use of the start of the epoch: i.e.,
    [all...]
  /frameworks/base/services/java/com/android/server/
ThrottleService.java 65 import java.util.GregorianCalendar;
708 Calendar end = GregorianCalendar.getInstance();
727 end = GregorianCalendar.getInstance();
    [all...]
  /packages/apps/Mms/src/com/android/mms/transaction/
SmsReceiverService.java 24 import java.util.GregorianCalendar;
587 Calendar buildDate = new GregorianCalendar(2011, 8, 18); // 18 Sep 2011
588 Calendar nowDate = new GregorianCalendar();
  /frameworks/base/core/java/android/hardware/
GeomagneticField.java 19 import java.util.GregorianCalendar;
113 new GregorianCalendar(2010, 1, 1).getTimeInMillis();
  /libcore/luni/src/test/java/tests/api/javax/security/cert/
X509CertificateTest.java 51 import java.util.GregorianCalendar;
345 Calendar calendarPast = GregorianCalendar.getInstance();
  /packages/apps/Exchange/src/com/android/exchange/adapter/
CalendarSyncAdapter.java 63 import java.util.GregorianCalendar;
373 GregorianCalendar cal = new GregorianCalendar(UTC_TIMEZONE);
375 cal.set(GregorianCalendar.HOUR_OF_DAY, 0);
376 cal.set(GregorianCalendar.MINUTE, 0);
377 cal.set(GregorianCalendar.SECOND, 0);
480 GregorianCalendar cal = new GregorianCalendar(mLocalTimeZone);
483 if (cal.get(GregorianCalendar.HOUR_OF_DAY) != 0 ||
484 cal.get(GregorianCalendar.MINUTE) != 0)
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
URLConnectionTest.java 38 import java.util.GregorianCalendar;
701 Calendar cal = new GregorianCalendar(TimeZone.getTimeZone("GMT"));
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
CalendarTest.java 24 import java.util.GregorianCalendar;
741 private class MockGregorianCalendar extends GregorianCalendar {
816 cal.set(Calendar.ERA, GregorianCalendar.BC);
822 cal.set(Calendar.ERA, GregorianCalendar.AD);
    [all...]

Completed in 1478 milliseconds

1 23 4 5