/external/icu/icu4c/source/samples/date/ |
date.c | 7 * File date.c 11 * Date Name Description 47 static void date(UDate when, const UChar *tz, UDateFormatStyle style, const char *format, UErrorCode *status); 52 /* The version of date */ 90 /* display date in gmt */ 94 /* display date in gmt */ 98 /* display date in long format */ 102 /* display date in medium format */ 106 /* display date in short format */ 142 /* done with options, display date */ 240 date(UDate when, function [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
OlsonTimeZone.java | 12 import java.util.Date; 267 public void getOffset(long date, boolean local, int[] offsets) { 268 if (finalZone != null && date >= finalStartMillis) { 269 finalZone.getOffset(date, local, offsets); 271 getHistoricalOffset(date, local, 280 public void getOffsetFromLocal(long date, 282 if (finalZone != null && date >= finalStartMillis) { 283 finalZone.getOffsetFromLocal(date, nonExistingTimeOpt, duplicatedTimeOpt, offsets); 285 getHistoricalOffset(date, true, nonExistingTimeOpt, duplicatedTimeOpt, offsets); 381 * @see com.ibm.icu.util.TimeZone#inDaylightTime(java.util.Date) [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
DateFormatRegressionTestJ.java | 16 import java.util.Date; 59 Date d = new Date(1002705212906L); 76 Date someDate = new Date(); 128 Date d = cal.getTime(); 140 Date d = new Date(1002705212231L); 168 Date d = fmt.parse("01/22/92 04:52:00 GMT", p0); 178 Date today = cal.getTime() 259 Date date = sdf.parse(TIME_STRING); local [all...] |
DateIntervalFormatTest.java | 17 import java.util.Date; 51 // first item is date pattern 62 // test skeleton with both date and time 698 Date date, date_2; local 788 Date date, date_2; local 861 Date date, date_2; local 1021 Date date; local [all...] |
/external/icu/icu4j/perf-tests/ |
converterperf.pl | 76 my $date = localtime; 77 my $title = "ICU4J Performance Test $date"; 79 my $html = $date;
|
dateformatperf.pl | 26 # locale pattern date string 62 my $date = localtime; 64 my $title = "ICU4J Performance Test $threads $date"; 66 my $html = $date;
|
decimalformatperf.pl | 26 # locale pattern date string 58 my $date = localtime; 60 my $title = "ICU4J Performance Test $threads $date"; 62 my $html = $date;
|
normperf.pl | 112 my $date = localtime; 113 my $title = "ICU4J Performance Test $date"; 115 my $html = $date;
|
ucharacterperf.pl | 60 my $date = localtime; 61 my $title = "ICU4J Performance Test $date"; 63 my $html = $date;
|
unicodesetperf.pl | 50 my $date = localtime; 51 my $title = "ICU4J Performance Test $date"; 53 my $html = $date;
|
/external/libchrome/base/third_party/nspr/ |
prtime.cc | 42 * NSPR date and time functions 183 // Date was possibly too far in the future and would overflow. Return 184 // the most future date possible (year 2038). 187 // Date was possibly too far in the past and would underflow. Return 188 // the most past date possible (year 1901). 493 * This parses a time/date string into a PRTime 496 * if the time/date string can't be parsed. 537 int date = -1; local [all...] |
/external/libxml2/ |
genChRanges.py | 206 date = time.asctime(time.localtime(time.time())) variable 217 * Generation date: %s 265 """ % (date, sources)); 274 * Generation date: %s 291 """ % (date, sources));
|
genUnicode.py | 208 date = time.asctime(time.localtime(time.time())) variable 220 * Generation date: %s 236 """ % (webpage, date, sources)); 247 * Generation date: %s 278 """ % (webpage, date, sources));
|
/external/sfntly/cpp/src/sfntly/data/ |
writable_font_data.cc | 152 int32_t WritableFontData::WriteDateTime(int32_t index, int64_t date) { 153 WriteULong(index, (date >> 32) & 0xffffffff); 154 WriteULong(index + 4, date & 0xffffffff);
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarUtils.java | 155 * Formats a date or a time range according to the local conventions. 157 * This formats a date/time range using Calendar's time zone and the 168 * @return a string containing the formatted date/time range. 172 String date; local 181 date = DateUtils.formatDateRange(context, mF, startMillis, endMillis, flags, 184 return date;
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
CalendarAppWidgetProvider.java | 139 final String date = Utils.formatDateRange(context, millis, millis, local 143 views.setTextViewText(R.id.date, date);
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
CalendarInteractionUtils.java | 31 // Configure date/time formatting. 47 // If possible, use "Today" or "Tomorrow" instead of a full date string. 69 // If possible, use "Today" or "Tomorrow" instead of a full date string. 81 // Format the full date. Example: "Thursday, April 12, 1:00pm - 2:00pm" 161 * Formats a date or a time range according to the local conventions. 163 * This formats a date/time range using Calendar's time zone and the 174 * @return a string containing the formatted date/time range. 178 String date; local 188 date = DateUtils.formatDateRange(context, f, startMillis, endMillis, flags, 190 return date; [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/widget/ |
WidgetConversationListItemViewBuilder.java | 145 public RemoteViews getStyledView(final Context context, final CharSequence date, 156 // Add style to date 158 final SpannableStringBuilder dateBuilder = addStyle(date, dateFontSize, dateColor); 160 dateBuilder.setSpan(new StyleSpan(Typeface.BOLD), 0, date.length(),
|
/packages/providers/CallLogProvider/tests/src/com/android/calllogbackup/ |
CallLogBackupAgentTest.java | 219 private static Call makeCall(int id, long date, long duration, String number) { 222 c.date = date;
|
/system/tpm/attestation/common/ |
proto_print.py | 36 from datetime import date namespace 221 """ % {'year': date.today().year, 243 """ % {'year': date.today().year,
|
/external/autotest/site_utils/autoupdate/ |
full_release_test.py | 162 # The date portion only appears in non-release builds. 163 date = r'([0-9]+_[0-9]+_[0-9]+_[0-9]+)*' 166 '(?P<branch>R[0-9]+)-(?P<release>' + version + date + version + ')') 188 # The date portion only appears in non-release builds. 189 date = r'([0-9]+_[0-9]+_[0-9]+_[0-9]+)*' 194 '(?P<s_version>R[0-9]+-' + version + date + version + ')' 196 '(?P<t_version>R[0-9]+-' + version + date + version + ')'
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLX509Certificate.java | 44 import java.util.Date; 222 checkValidity(new Date()); 226 public void checkValidity(Date date) throws CertificateExpiredException, 228 if (getNotBefore().compareTo(date) > 0) { 230 + getNotBefore().toString() + " (compared to " + date.toString() + ")"); 233 if (getNotAfter().compareTo(date) < 0) { 235 + getNotAfter().toString() + " (compared to " + date.toString() + ")"); 260 public Date getNotBefore() { 268 public Date getNotAfter() [all...] |
/external/icu/icu4c/source/i18n/ |
tznames.cpp | 111 UnicodeString& getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const; 257 TimeZoneNamesDelegate::getMetaZoneID(const UnicodeString& tzID, UDate date, UnicodeString& mzID) const { 258 return fTZnamesCacheEntry->names->getMetaZoneID(tzID, date, mzID); 322 TimeZoneNames::getDisplayName(const UnicodeString& tzID, UTimeZoneNameType type, UDate date, UnicodeString& name) const { 327 getMetaZoneID(tzID, date, mzID);
|
/prebuilts/sdk/tools/ |
jack-admin | 152 let DATE_TIMEOUT=$(date +%s)+$JACK_CONNECTION_TIMEOUT 176 if [ $(date +%s) -lt $DATE_TIMEOUT ]; then 189 let DATE_TIMEOUT=$(date +%s)+$JACK_CONNECTION_TIMEOUT 203 if [ $(date +%s) -ge $DATE_TIMEOUT ]; then 554 date >>"$REPORT_INFO" 2>&1
|
/external/chromium-trace/catapult/third_party/webapp2/tests/ |
extras_i18n_test.py | 65 # Date formatting 90 'date': 'medium', 96 'date.short': None, 97 'date.medium': 'full', 98 'date.full': None, 99 'date.long': None, 179 self.assertEqual(i18n.parse_date('4/1/04'), datetime.date(2004, 4, 1)) 181 self.assertEqual(i18n.parse_date('01.04.2004'), datetime.date(2004, 4, 1))
|