/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
PersianCalendar.java | 12 import java.util.Date; 194 * Constructs a <code>PersianCalendar</code> with the given date set 197 * @param date The date to which the new calendar is set. 204 public PersianCalendar(Date date) { 206 this.setTime(date); 210 * Constructs a <code>PersianCalendar</code> with the given date set 216 * @param date the value used to set the {@link #DATE DATE} time field in the calendar [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
Support_MessageFormat.java | 24 import java.util.Date; 50 String pattern = "On {4,date} at {3,time}, he ate {2,number, integer} hamburger{2,choice,1#|1<s} and drank {1, number} liters of coke. That was {0,choice,1#just enough|1<more than enough} food!"; 53 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); local 56 hamburgers, date, date }; 79 String pattern = "On {4,date} at {3,time}, he ate {2,number, integer} hamburger{2,choice,1#|1<s} and drank {1, number} liters of coke. That was {0,choice,1#just enough|1<more than enough} food!"; 82 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); local 84 Object[] objects = new Object[] { hamburgers, new Double(3.5), hamburgers, date, date } [all...] |
/libcore/ojluni/src/main/java/sun/util/calendar/ |
JulianCalendar.java | 47 private static class Date extends BaseCalendar.Date { 48 protected Date() { 53 protected Date(TimeZone zone) { 58 public Date setEra(Era era) { 121 public Date getCalendarDate() { 125 public Date getCalendarDate(long millis) { 129 public Date getCalendarDate(long millis, CalendarDate date) { 130 return (Date) super.getCalendarDate(millis, date) [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_MessageFormat.java | 24 import java.util.Date; 47 String pattern = "On {4,date} at {3,time}, he ate {2,number, integer} hamburger{2,choice,1#|1<s} and drank {1, number} litres of coke. That was {0,choice,1#just enough|1<more than enough} food!"; 50 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); local 53 hamburgers, date, date }; 74 String pattern = "On {4,date} at {3,time}, he ate {2,number, integer} hamburger{2,choice,1#|1<s} and drank {1, number} litres of coke. That was {0,choice,1#just enough|1<more than enough} food!"; 77 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); local 80 hamburgers, date, date } [all...] |
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
SmsInteraction.java | 56 Long date = getDate(); local 57 return date == null ? -1 : date; 76 Long date = getDate(); local 77 return date == null ? null : ContactInteractionUtil.formatDateStringFromTimestamp( 78 date, context); 107 return mValues.getAsLong(Sms.DATE);
|
/external/f2fs-tools/scripts/ |
spo_test.sh | 22 date >> $USER_DIR/por_result 55 date 57 RANDOM=`date '+%s'`
|
/external/ltp/tools/pounder21/test_scripts/ |
statslogging | 54 NOW=`date` 75 NOW=`date` 83 NOW=`date`
|
/external/python/cpython2/Lib/sqlite3/ |
dbapi2.py | 36 Date = datetime.date 43 return Date(*time.localtime(ticks)[:3]) 65 return datetime.date(*map(int, val.split("-"))) 81 register_adapter(datetime.date, adapt_date) 83 register_converter("date", convert_date)
|
/external/python/cpython3/Lib/sqlite3/ |
dbapi2.py | 35 Date = datetime.date 42 return Date(*time.localtime(ticks)[:3]) 64 return datetime.date(*map(int, val.split(b"-"))) 80 register_adapter(datetime.date, adapt_date) 82 register_converter("date", convert_date)
|
/frameworks/base/core/java/android/service/autofill/ |
DateValueSanitizer.java | 32 import java.util.Date; 35 * Sanitizes a date {@link AutofillValue} using a {@link DateFormat}. 37 * <p>For example, to sanitize a credit card expiration date to just its month and year: 52 * @param dateFormat date format applied to the actual date value of an input field. 68 if (sDebug) Log.d(TAG, value + " is not a date"); 73 final Date date = new Date(value.getDateValue()); local 76 final String converted = mDateFormat.format(date); [all...] |
/build/soong/ |
soong_ui.bash | 19 export TRACE_BEGIN_SOONG=$(date +%s%N)
|
/dalvik/dx/tests/131-perf/ |
run | 78 start=`date +'%s%N'` 80 end=`date +'%s%N'`
|
/external/compiler-rt/make/ |
config.mk | 21 DATE := date
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
IntlTestDateFormat.java | 17 @summary test International Date Format 24 import java.util.Date; 41 // Values in milliseconds (== Date) 51 //private static final byte DATE = TIME + 1; //The variable is never used 52 //private static final byte DATE_TIME = DATE + 1; //The variable is never used 97 fTestName = "Date test " + dateStyle + " (" + localeName + ")"; 102 errln("FAIL: localeTest date getTimeInstance exception"); 115 errln("FAIL: localeTest date/time getDateTimeInstance exception"); 129 Date now = new Date(); 156 Date[] date = new Date[DEPTH]; local [all...] |
/external/icu/icu4c/source/samples/uresb/ |
resources.mak | 18 @echo All targets are up to date
|
/external/icu/icu4c/source/test/intltest/ |
tsdate.cpp | 94 fTestName = (UnicodeString) "Date test " + (int32_t) dateStyle + " (" + localeName + ")"; 153 UDate date[DEPTH]; local 164 date[0] = theDate; 170 date[i] = fFormat->parse(string[i-1], status); 178 fFormat->format(date[i], string[i]); 179 if (dateMatch == 0 && date[i] == date[i-1]) 181 else if (dateMatch > 0 && date[i] != date[i-1]) 184 errln("**** FAIL: Date mismatch after match for " + string[i]) [all...] |
tsdate.h | 42 * perform tests using date and fFormat, called in many variations 44 void tryDate(UDate date); 64 // Values in milliseconds (== Date) 75 DATE,
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
IntlTestDateFormat.java | 16 @summary test International Date Format 23 import java.util.Date; 38 // Values in milliseconds (== Date) 48 //private static final byte DATE = TIME + 1; //The variable is never used 49 //private static final byte DATE_TIME = DATE + 1; //The variable is never used 94 fTestName = "Date test " + dateStyle + " (" + localeName + ")"; 99 errln("FAIL: localeTest date getTimeInstance exception"); 112 errln("FAIL: localeTest date/time getDateTimeInstance exception"); 126 Date now = new Date(); 153 Date[] date = new Date[DEPTH]; local [all...] |
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
DateFormatPerformanceTest.java | 12 import java.util.Date; 23 private Date date; field in class:DateFormatPerformanceTest 53 date = icuDateFormat[0].parse(dateString); 105 icuDateFormat[id].format(date); 113 jdkDateFormat[id].format(date);
|
/external/ltp/testcases/kernel/hotplug/cpu_hotplug/include/ |
cpuhotplug_testsuite.sh | 140 # Replacement for exit command. Prints the date, then calls do_clean 146 date
|
/external/python/cpython2/Doc/includes/sqlite3/ |
pysqlite_datetime.py | 6 cur.execute("create table test(d date, ts timestamp)") 8 today = datetime.date.today() 17 cur.execute('select current_date as "d [date]", current_timestamp as "ts [timestamp]"')
|
/external/python/cpython3/Doc/includes/sqlite3/ |
pysqlite_datetime.py | 6 cur.execute("create table test(d date, ts timestamp)") 8 today = datetime.date.today() 17 cur.execute('select current_date as "d [date]", current_timestamp as "ts [timestamp]"')
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue49/ |
CalendarTest.java | 19 import java.util.Date; 35 cal.setTime(new Date(1000000000000L)); 49 * Daylight Saving Time is in effect on this date/time in 51 * Saving Time is not in effect on this date/time in GMT 59 * Daylight Saving Time is not in effect on this date/time in 61 * Saving Time is not in effect on this date/time in GMT 85 cal.setTime(new Date(time)); 109 Date date = (Date) yaml.load("2001-12-14t21:59:43.10-05:00") local 120 Date date = (Date) yaml.load("2001-12-14t21:59:43.10-05:00"); local [all...] |
/libcore/ojluni/src/main/java/java/security/cert/ |
PKIXParameters.java | 33 import java.util.Date; 68 * {@code date} parameter is {@code null}, which indicates 89 private Date date; field in class:PKIXParameters 478 * Note that the {@code Date} returned is copied to protect against 481 * @return the {@code Date}, or {@code null} if not set 484 public Date getDate() { 485 if (date == null) 488 return (Date) this.date.clone() [all...] |
/libcore/ojluni/src/main/java/java/sql/ |
Date.java | 31 * JDBC to identify this as an SQL <code>DATE</code> value. A 35 * To conform with the definition of SQL <code>DATE</code>, the 36 * millisecond values wrapped by a <code>java.sql.Date</code> instance 41 public class Date extends java.util.Date { 44 * Constructs a <code>Date</code> object initialized with the given 53 * @deprecated instead use the constructor <code>Date(long date)</code> 56 public Date(int year, int month, int day) { 61 * Constructs a <code>Date</code> object using the given millisecond [all...] |