/external/icu4c/i18n/ |
basictz.cpp | 130 BasicTimeZone::getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial, 148 avail = getNextTransition(date, FALSE, tr); 155 // within roughly 1 year from the specified date 159 && (date + MILLIS_PER_YEAR > nextTransitionTime)) { 201 // Make sure this rule can be applied to the specified date 202 avail = ar2->getPreviousStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), TRUE, d); 203 if (!avail || d > date 215 avail = getPreviousTransition(date, TRUE, tr); 234 // Check if this rule start after the first rule after the specified date 235 avail = ar2->getNextStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), FALSE, d) [all...] |
rbtz.cpp | 229 // Check if one of final rules has earlier transition date 383 RuleBasedTimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, 385 getOffsetInternal(date, local, kFormer, kLatter, rawOffset, dstOffset, status); 389 RuleBasedTimeZone::getOffsetFromLocal(UDate date, int32_t nonExistingTimeOpt, int32_t duplicatedTimeOpt, 391 getOffsetInternal(date, TRUE, nonExistingTimeOpt, duplicatedTimeOpt, rawOffset, dstOffset, status); 399 RuleBasedTimeZone::getOffsetInternal(UDate date, UBool local, 422 if (date < tstart) { 428 if (date > tend) { 430 rule = findRuleInFinal(date, local, NonExistingTimeOpt, DuplicatedTimeOpt); 438 if (date >= getTransitionTime((Transition*)fHistoricTransitions->elementAt(idx) [all...] |
ethpccal.cpp | 206 EthiopicCalendar::ethiopicToJD(int32_t year, int32_t month, int32_t date) 208 return ceToJD(year, month, date, JD_EPOCH_OFFSET_AMETE_MIHRET);
|
ucal.cpp | 245 ucal_setGregorianChange(UCalendar *cal, UDate date, UErrorCode *pErrorCode) { 258 gregocal->setGregorianChange(date, *pErrorCode); 358 int32_t date, 364 ((Calendar*)cal)->set(year, month, date); 372 int32_t date, 380 ((Calendar*)cal)->set(year, month, date, hour, minute, second); 568 ucal_isWeekend(const UCalendar *cal, UDate date, UErrorCode *status) 573 return ((Calendar*)cal)->isWeekend(date, *status);
|
vzone.h | 119 * @param lastModified Receives the last modified date. 129 * @param lastModified The LAST-MODIFIED date. 150 * @param start The start date. 160 * Writes RFC2445 VTIMEZONE data applicalbe for the specified date. 166 * around the specified date. 168 * @param time The date used for rule extraction. 179 * account) as of a particular reference date. The reference date is used to determine 182 * at this particular date and time?). For the time zones produced by createTimeZone(), 183 * the reference data is specified according to the Gregorian calendar, and the date [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps_upnp.c | 213 /* Write the current date/time per RFC */ 219 struct tm *date; local 223 date = gmtime(&t); 225 &weekday_str[date->tm_wday * 4], date->tm_mday, 226 &month_str[date->tm_mon * 4], date->tm_year + 1900, 227 date->tm_hour, date->tm_min, date->tm_sec) [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
TimeTest.java | 78 // set date to March 32. 91 // reset date to March 32. 128 final int date = 10; local 130 time.set(date, month, year); 133 assertEquals(date, time.monthDay); 294 // Use normalize(true) with these tests to change the date by 1 day. 682 Calendar date = Calendar.getInstance(TimeZone.getTimeZone("UTC")); local 683 date.setTimeInMillis(time); 685 assertEquals(date.get(Calendar.YEAR), t.year); 686 assertEquals(date.get(Calendar.MONTH), t.month) 701 final int date = 12; local [all...] |
/build/tools/droiddoc/templates-pdk/assets/ |
android-developer-docs.js | 105 var date = new Date(); 106 date.setTime(date.getTime()+(10*365*24*60*60*1000)); // default expiration is one week 107 expiration = date.toGMTString(); 321 var date = new Date(); 322 date.setTime(date.getTime()+(10*365*24*60*60*1000)); // keep this for 10 years 323 writeCookie("nav", nav_pref, "reference", date.toGMTString()) [all...] |
android-developer-reference.js | 10 var date = new Date(); 11 date.setTime(date.getTime()+(10*365*24*60*60*1000)); // keep this for 10 years 12 var expiration = date.toGMTString(); 62 var date = new Date(); 63 date.setTime(date.getTime()+(10*365*24*60*60*1000)); // keep this for 10 years 64 var expiration = date.toGMTString() [all...] |
/external/icu4c/i18n/unicode/ |
calendar.h | 11 * Date Name Description 75 * time fields have been initialized with the current date and time: 84 * needed to implement the date-time formatting for a particular language 98 * start of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc. 146 * The date or time format strings are not part of the definition of a 154 * month up in the date <code>December 12, <b>1996</b></code> results in 158 * <code>Calendar</code> also provides a date arithmetic function for 160 * For example, subtracting 5 days from the date <code>September 12, 1996</code> 169 * Field IDs for date and time. Used to specify date/time fields. ERA is calenda [all...] |
timezone.h | 10 * Date Name Description 328 * account) as of a particular reference date. The reference date is used to determine 331 * at this particular date and time?). For the time zones produced by createTimeZone(), 332 * the reference data is specified according to the Gregorian calendar, and the date 339 * @param era The reference date's era 340 * @param year The reference date's year 341 * @param month The reference date's month (0-based; 0 is January) 342 * @param day The reference date's day-in-month (1-based) 343 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday [all...] |
/external/icu4c/test/intltest/ |
dtifmtts.cpp | 224 dataerrln("ERROR: format non-date-interval object should set U_ILLEGAL_ARGUMENT_ERROR - exitting"); 235 dataerrln("ERROR: format date interval failed - exitting"); 247 dataerrln("ERROR: format date interval failed - exitting"); 293 // first item is date pattern 306 // test skeleton with both date and time 963 UDate date = ref.parse(ctou(datestr), ec); local 1072 UDate date = ref.parse(ctou(datestr), ec); local 1234 UDate date = ref.parse(ctou(datestr), ec); local [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldMessageFormatTest.java | 29 import java.util.Date; 43 String pattern = "A {3, number, currency} B {2, time} C {0, number, percent} D {4} E {1,choice,0#off|1#on} F {0, date}"; 180 Date date = new Date(); local 182 + DateFormat.getTimeInstance().format(date); 184 new Integer(3), date }, buffer, new FieldPosition(MessageFormat 217 Date date = new Date(12345678) local [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
MessageFormatTest.java | 35 import java.util.Date; 76 "Date: {0,date} Currency: {1, number, currency} Integer: {2, number, integer}", 94 "abc {4,time} def {3,date} ghi {2,number} jkl {1,choice,0#low|1#high} mnop {0}"); 102 assertTrue("Wrong date format", formats[1].equals(DateFormat 110 Date date = new Date(); local 114 date, date }, buffer, pos) 174 Date date = new Date(); local 336 SimpleDateFormat date = (SimpleDateFormat) DateFormat.getTimeInstance(); local 375 Date date = new Date(); local [all...] |
/external/jsilver/src/org/clearsilver/ |
DelegatedHdf.java | 21 import java.util.Date; 123 String hdfname, TimeZone timeZone, Date date) { 124 getHdf().exportDate(hdfname, timeZone, date);
|
/external/v8/test/mjsunit/ |
date.js | 28 // Test date construction from other dates. 29 var date0 = new Date(1111); 30 var date1 = new Date(date0); 33 var date2 = new Date(date0.toString()); 37 var date0 = Date.parse("Dec 25 1995 1:30"); 38 var date1 = Date.parse("Dec 25, 1995 1:30"); 39 var date2 = Date.parse("Dec 25 1995, 1:30"); 40 var date3 = Date.parse("Dec 25, 1995, 1:30"); 47 var dMax = new Date(8.64e15); 53 var dOverflow = new Date(8.64e15+1) [all...] |
/external/webkit/Source/WebKit/mac/WebView/ |
WebFrameLoadDelegate.h | 145 @param date The fire date 150 - (void)webView:(WebView *)sender willPerformClientRedirectToURL:(NSURL *)URL delay:(NSTimeInterval)seconds fireDate:(NSDate *)date forFrame:(WebFrame *)frame;
|
/external/webkit/Tools/DumpRenderTree/chromium/ |
TestShellMac.mm | 75 while ([(NSDate*)[NSDate date] compare:limitDate] == NSOrderedAscending &&
|
/frameworks/compile/libbcc/runtime/make/ |
options.mk | 3 # This list of such variables should be kept up to date with AvailableOptions in
|
/libcore/luni/src/main/java/java/util/logging/ |
XMLFormatter.java | 21 import java.util.Date; 52 // format to date 53 String date = MessageFormat.format("{0, date} {0, time}", new Object[] { new Date(time) }); local 58 append(sb, 1, "date", date);
|
/packages/apps/Camera/src/com/android/camera/ |
Storage.java | 52 public static Uri addImage(ContentResolver resolver, String title, long date, 74 values.put(ImageColumns.DATE_TAKEN, date);
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
DisplaySyncHistogram.java | 33 import java.util.Date; 158 Date date = new Date(time); local 161 calendar.setTime(date);
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
CalendarUtilities.java | 61 import java.util.Date; 205 // Internal structure for storing a time zone date from a SYSTEMTIME structure 206 // This date represents either the start or the end time for DST 299 * @return a GregorianCalendar with the given time zone and date 325 Date date = null; local 330 date = new Date(checkTime); 331 boolean inDaylightTime = tz.inDaylightTime(date); 383 int date; field in class:CalendarUtilities.RRule 434 int date = calendar.get(Calendar.DAY_OF_MONTH); local 535 Date date = new Date(startTime); local 1467 Date date = new Date(entityValues.getAsLong(Events.DTSTART)); local 1731 Date date = new Date(entityValues.getAsLong(Events.ORIGINAL_INSTANCE_TIME)); local [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
DateTest.java | 21 import java.util.Date; 27 static class MockDate extends Date{ 44 * @tests java.util.Date#Date() 47 // Test for method java.util.Date() 51 long now = new Date().getTime(); 52 assertTrue("Created incorrect date: " + oldTime + " now: " + now, 57 * @tests java.util.Date#Date(int, int, int) 60 // Test for method java.util.Date(int, int, int 68 Date date = new Date(99, 5, 22); local 110 Date date = new MockDate(1000L); local [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/x509/ |
X509V3CertificateGenerator.java | 16 import java.util.Date; 110 Date date) 112 tbsGen.setStartDate(new Time(date)); 116 Date date) 118 tbsGen.setEndDate(new Time(date));
|