/external/icu4c/test/intltest/ |
tztest.cpp | 174 GregorianCalendar *gc = new GregorianCalendar(*zone, status); 175 if (failure(status, "new GregorianCalendar", TRUE)) return; 182 if (failure(status, "GregorianCalendar::getTime")) return; 192 gc = new GregorianCalendar(*zone, status); 193 if (failure(status, "new GregorianCalendar")) return; 348 GregorianCalendar *gc = new GregorianCalendar(status); 349 if (U_FAILURE(status)) { errln("FAIL: Couldn't create GregorianCalendar"); return; } 351 if (U_FAILURE(status)) { errln("FAIL: GregorianCalendar::setTime failed"); return; [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 | 359 Calendar *cal = new GregorianCalendar(status); 360 failure(status, "new GregorianCalendar"); 936 GregorianCalendar *gc = new GregorianCalendar(status); 937 failure(status, "new GregorianCalendar"); [all...] |
/external/chromium_org/third_party/icu/source/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/icu4c/i18n/ |
ucal.cpp | 273 GregorianCalendar *gregocal = dynamic_cast<GregorianCalendar *>(cpp_cal); 275 // because we really want to work only with a GregorianCalendar, not with 283 if(typeid(*cpp_cal) != typeid(GregorianCalendar)) { 296 const GregorianCalendar *gregocal = dynamic_cast<const GregorianCalendar *>(cpp_cal); 305 if(typeid(*cpp_cal) != typeid(GregorianCalendar)) {
|
simpletz.cpp | 446 if ((era != GregorianCalendar::AD && era != GregorianCalendar::BC) 466 if(!useDaylight || year < startYear || era != GregorianCalendar::AD) 522 savingsDST = getOffset(GregorianCalendar::AD, year, month, dom, 550 savingsDST = getOffset(GregorianCalendar::AD, year, month, dom, 720 // This method is wasteful since it creates a new GregorianCalendar and 724 GregorianCalendar *gc = new GregorianCalendar(*this, status); [all...] |
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
NotificationBuilderTest.java | 19 import java.util.GregorianCalendar; 230 GregorianCalendar c = new GregorianCalendar(); 231 c.set(GregorianCalendar.HOUR_OF_DAY, 0); 232 c.set(GregorianCalendar.MINUTE, 0); 233 c.set(GregorianCalendar.SECOND, 0);
|
/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...] |
/external/smack/src/org/jivesoftware/smack/sasl/ |
SASLFacebookConnect.java | 8 import java.util.GregorianCalendar; 117 Long callId = new GregorianCalendar().getTimeInMillis()/1000;
|
/packages/providers/DownloadProvider/ui/src/com/android/providers/downloads/ui/ |
DownloadAdapter.java | 39 import java.util.GregorianCalendar; 134 Calendar today = new GregorianCalendar();
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
CalendarSyncParser.java | 37 import java.util.GregorianCalendar; 310 final GregorianCalendar cal = new GregorianCalendar(UTC_TIMEZONE); 314 cal.set(GregorianCalendar.HOUR_OF_DAY, 0); 315 cal.set(GregorianCalendar.MINUTE, 0); 316 cal.set(GregorianCalendar.SECOND, 0); 416 GregorianCalendar cal = new GregorianCalendar(mLocalTimeZone); 419 if (cal.get(GregorianCalendar.HOUR_OF_DAY) != 0 || 420 cal.get(GregorianCalendar.MINUTE) != 0) [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
Utility.java | 76 import java.util.GregorianCalendar; 341 GregorianCalendar cal = parseDateTimeToCalendar(date); 346 * Generate a GregorianCalendar from a date string that represents a date/time in GMT 348 * @return the GregorianCalendar 350 public static GregorianCalendar parseDateTimeToCalendar(String date) { 351 GregorianCalendar cal = new GregorianCalendar(Integer.parseInt(date.substring(0, 4)), 365 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);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
InputDialogContainer.java | 27 import java.util.GregorianCalendar; 96 GregorianCalendar gregorianCalendar = 97 new GregorianCalendar(TimeZone.getTimeZone("UTC")); 100 gregorianCalendar.setGregorianChange(new Date(Long.MIN_VALUE)); 101 gregorianCalendar.setTimeInMillis((long) dialogValue); 102 cal = gregorianCalendar;
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/utils/ |
Util.java | 27 import java.util.GregorianCalendar; 462 GregorianCalendar calendar = new GregorianCalendar();
|
/packages/apps/Exchange/tests/src/com/android/exchange/adapter/ |
EmailSyncAdapterTests.java | 38 import java.util.GregorianCalendar; 86 GregorianCalendar calendar = new GregorianCalendar(TimeZone.getTimeZone("GMT"));
|
/external/chromium_org/third_party/icu/source/tools/tzcode/ |
icuzdump.cpp | 191 GregorianCalendar* gcal = new GregorianCalendar(timezone, Locale::getEnglish(), status);
|
/external/icu4c/tools/tzcode/ |
icuzdump.cpp | 191 GregorianCalendar* gcal = new GregorianCalendar(timezone, Locale::getEnglish(), status);
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
DatatypeFactory.java | 24 import java.util.GregorianCalendar; 192 * <p>The default start instance is defined by {@link GregorianCalendar}'s use of the start of the epoch: i.e., 366 * <p>The default start instance is defined by {@link GregorianCalendar}'s use of the start of the epoch: i.e., 578 * <p>The default start instance is defined by {@link GregorianCalendar}'s use of the start of the epoch: i.e., [all...] |
/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasSync.java | 44 import java.util.GregorianCalendar; 302 GregorianCalendar.getInstance(TimeZone.getTimeZone("GMT"));
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
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...] |
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPNodeUtils.java | 12 import java.util.GregorianCalendar; 419 else if (value instanceof GregorianCalendar) 421 XMPDateTime dt = XMPDateTimeFactory.createFromCalendar((GregorianCalendar) value);
|