/dalvik/libcore/text/src/main/java/java/text/ |
DateFormat.java | 26 import java.util.Date; 35 * An abstract class for date/time formatting subclasses which formats and 36 * parses dates or time in a language-independent manner. The date/time 38 * (i.e., date -> text), parsing (text -> date), and normalization. The date is 39 * represented as a {@code Date} object or as the milliseconds since January 1, 42 * DateFormat provides many class methods for obtaining default date/time 52 * To format a date for the current Locale, use one of the static factory 95 * Use {@code getDateInstance} to get the normal date format for a country 642 Date date = parse(string, position); local [all...] |
/external/clearsilver/scripts/ |
ChangeLog.py | 77 info_re = re.compile ("date: ([^; ]*) ([^;]*); author: ([^;]*);") 94 key = (date, author, string.join (comment, '\n')) 101 key = (date, author, string.join (comment, '\n')) 114 date = m.group(1) 190 (date, author, comment) = key 191 new_stamp = "%s %s" % (date, self.fullname(author))
|
/external/icu4c/i18n/unicode/ |
simpletz.h | 11 * Date Name Description 275 * the exact starting date. Their exact meaning depend on their respective signs, 319 * the exact starting date. Their exact meaning depend on their respective signs, 361 * Sets the DST start rule to a fixed date within a month. 364 * @param dayOfMonth The date in that month (1-based). 374 * Sets the DST start rule to a fixed date within a month. 377 * @param dayOfMonth The date in that month (1-based). 390 * Sets the DST start rule to a weekday before or after a give date within 394 * @param dayOfMonth A date within that month (1-based). 408 * Sets the DST start rule to a weekday before or after a give date withi [all...] |
datefmt.h | 11 * Date Name Description 49 * date formatting and parsing actions. 55 * To format a date for the current Locale, use one of the static factory 79 * To get specific fields of a date, you can use UFieldPosition to 91 * To format a date for a different Locale, specify it in the call to 106 * Use createDateInstance() to produce the normal date format for that country. 109 * to produce a DateFormat that formats both date and time. You can pass in 143 * the DateTimePatterns resource. There are 4 time patterns, 4 date patterns, 144 * the default date-time pattern, and 4 date-time patterns. Each block of 4 values [all...] |
timezone.h | 10 * Date Name Description 394 * account) as of a particular reference date. The reference date is used to determine 397 * at this particular date and time?). For the time zones produced by createTimeZone(), 398 * the reference data is specified according to the Gregorian calendar, and the date 405 * @param era The reference date's era 406 * @param year The reference date's year 407 * @param month The reference date's month (0-based; 0 is January) 408 * @param day The reference date's day-in-month (1-based) 409 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday [all...] |
/external/webkit/WebCore/html/ |
HTMLInputElement.cpp | 175 case DATE: 216 case DATE: 278 case DATE: 303 case DATE: 339 case DATE: 374 case DATE: 414 case DATE: 463 case DATE: 521 case DATE: 569 case DATE 1620 DateComponents date; local 1628 DateComponents date; local 1675 DateComponents date; local 1710 DateComponents date; local 1828 DateComponents date; local 1837 DateComponents date; local [all...] |
/external/icu4c/i18n/ |
basictz.cpp | 120 BasicTimeZone::getSimpleRulesNear(UDate date, InitialTimeZoneRule*& initial, 138 avail = getNextTransition(date, FALSE, tr); 145 // within roughly 1 year from the specified date 149 && (date + MILLIS_PER_YEAR > nextTransitionTime)) { 183 // Make sure this rule can be applied to the specified date 184 avail = ar2->getPreviousStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), TRUE, d); 185 if (!avail || d > date 196 avail = getPreviousTransition(date, TRUE, tr); 212 // Check if this rule start after the first rule after the specified date 213 avail = ar2->getNextStart(date, tr.getFrom()->getRawOffset(), tr.getFrom()->getDSTSavings(), FALSE, d) [all...] |
rbtz.cpp | 227 // Check if one of final rules has earlier transition date 381 RuleBasedTimeZone::getOffset(UDate date, UBool local, int32_t& rawOffset, 383 getOffsetInternal(date, local, kFormer, kLatter, rawOffset, dstOffset, status); 387 RuleBasedTimeZone::getOffsetFromLocal(UDate date, int32_t nonExistingTimeOpt, int32_t duplicatedTimeOpt, 389 getOffsetInternal(date, TRUE, nonExistingTimeOpt, duplicatedTimeOpt, rawOffset, dstOffset, status); 397 RuleBasedTimeZone::getOffsetInternal(UDate date, UBool local, 420 if (date < tstart) { 426 if (date > tend) { 428 rule = findRuleInFinal(date, local, NonExistingTimeOpt, DuplicatedTimeOpt); 436 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);
|
/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. 657 Calendar date = Calendar.getInstance(TimeZone.getTimeZone("UTC")); local 658 date.setTimeInMillis(time); 660 assertEquals(date.get(Calendar.YEAR), t.year); 661 assertEquals(date.get(Calendar.MONTH), t.month) 676 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...] |
/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"); 275 // first item is date pattern 288 // test skeleton with both date and time 875 UDate date = ref.parse(ctou(datestr), ec); local 981 UDate date = ref.parse(ctou(datestr), ec); local 1143 UDate date = ref.parse(ctou(datestr), ec); local [all...] |
/external/webkit/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;
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/log/event/ |
DisplaySyncHistogram.java | 32 import java.util.Date; 154 Date date = new Date(time); local 157 calendar.setTime(date);
|
/build/tools/droiddoc/templates/assets/ |
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...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CertImpl.java | 42 import java.util.Date; 170 * @see java.security.cert.X509Certificate#checkValidity(Date) 173 public void checkValidity(Date date) 181 long time = date.getTime(); 184 throw new CertificateNotYetValidException("current time: " + date 185 + ", validation time: " + new Date(notBefore)); 190 throw new CertificateExpiredException("current time: " + date 191 + ", expiration time: " + new Date(notAfter)); 267 public Date getNotBefore() [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/x509/ |
X509V2CRLGenerator.java | 17 import java.util.Date; 105 Date date) 107 tbsGen.setThisUpdate(new Time(date)); 111 Date date) 113 tbsGen.setNextUpdate(new Time(date)); 120 public void addCRLEntry(BigInteger userCertificate, Date revocationDate, int reason) 126 * Add a CRL entry with an Invalidity Date extension as well as a CRLReason extension. 130 public void addCRLEntry(BigInteger userCertificate, Date revocationDate, int reason, Date invalidityDate [all...] |
X509V2AttributeCertificate.java | 19 import java.util.Date; 42 private Date notBefore; 43 private Date notAfter; 96 public Date getNotBefore() 101 public Date getNotAfter() 129 this.checkValidity(new Date()); 133 Date date) 136 if (date.after(this.getNotAfter())) 141 if (date.before(this.getNotBefore()) [all...] |
/dalvik/libcore/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
MessageFormatTest.java | 44 import java.util.Date; 89 "Date: {0,date} Currency: {1, number, currency} Integer: {2, number, integer}", 112 "abc {4,time} def {3,date} ghi {2,number} jkl {1,choice,0#low|1#high} mnop {0}"); 120 assertTrue("Wrong date format", formats[1].equals(DateFormat 128 Date date = new Date(); local 132 date, date }, buffer, pos) 197 Date date = new Date(); local 387 SimpleDateFormat date = (SimpleDateFormat) DateFormat.getTimeInstance(); local 468 Date date = new Date(); local 549 Date date = new Date(12345678); local [all...] |
/external/clearsilver/java-jni/ |
HDF.java | 7 import java.util.Date; 188 /** Export a date to a clearsilver tree using a specified timezone */ 189 public void exportDate(String hdfname, TimeZone timeZone, Date date) { 195 cal.setTime(date); 232 /** Export a date to a clearsilver tree using a specified timezone */ 244 Date date = new Date((long)tt * 1000); 246 exportDate(hdfname, timeZone, date); [all...] |
/ndk/build/tools/ |
build-gdbserver.sh | 35 RELEASE=`date +%Y%m%d`
|
/system/core/init/ |
bootchart.c | 130 char date[32]; local 133 strftime(date, sizeof(date), "%x %X", &now); 152 fprintf(out, "title = Boot chart for Android ( %s )\n", date);
|
/dalvik/libcore/security/src/main/java/javax/security/cert/ |
X509Certificate.java | 33 import java.util.Date; 164 public void checkValidity(Date date) 168 cert.checkValidity(date); 192 public Date getNotBefore() { 196 public Date getNotAfter() { 260 * Checks whether the certificate is valid at the specified date. 262 * @param date 263 * the date to check the validity against. 270 public abstract void checkValidity(Date date [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
JDKKeyStore.java | 18 import java.util.Date; 91 Date date = new Date(); field in class:JDKKeyStore.StoreEntry 165 Date date, 170 this.date = date; 177 Date date, 728 Date date = new Date(dIn.readLong()); local [all...] |