/external/icu4c/samples/datefmt/ |
main.cpp | 42 UDate date; local 44 // The languages in which we will display the date 66 date = cal->getTime(status); 72 // Create a formatter for DATE and TIME 81 // Format the date 83 fmt->format(date, str, status); 85 // Display the formatted date string 86 printf("Date (%s, %s): ", LANGUAGE[i], TIMEZONE[j]);
|
/external/webkit/Source/WebCore/html/ |
DateTimeLocalInputType.cpp | 100 bool DateTimeLocalInputType::setMillisecondToDateComponents(double value, DateComponents* date) const 102 ASSERT(date); 103 return date->setMillisecondsSinceEpochForDateTimeLocal(value);
|
/external/webkit/Source/WebCore/storage/ |
IDBKey.h | 62 static PassRefPtr<IDBKey> createDate(double date) 66 idbKey->m_date = date; 88 double date() const function in class:WebCore::IDBKey
|
/frameworks/base/core/tests/coretests/src/android/webkit/ |
WebkitTest.java | 26 import java.util.Date; 39 Date date = new Date(); local 52 date.setTime(time); 53 c.setTime(date);
|
/frameworks/base/media/libdrm/mobile1/include/parser/ |
parser_rel.h | 43 #define YMD_HMS_2_INT(year, mon, day, date, hour, min, sec, time) do{\ 44 date = year * 10000 + mon * 100 + day;\ 54 int32_t date; /**< year * 10000 + mon *100 + day */ member in struct:_T_DRM_DATETIME 92 * Check whether the date and time is valid. 93 * \param year year of the date 94 * \param month month of the date 95 * \param day day of the date
|
/packages/apps/Calendar/src/com/android/calendar/ |
EventGeometry.java | 48 public boolean computeEventRect(int date, int left, int top, int cellWidth, Event event) { 57 if (startDay > date || endDay < date) { 66 if (startDay < date) { 72 if (endDay > date) {
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
SimpleDateFormatTest.java | 26 import java.util.Date; 81 public void parse(String pattern, String input, Date expected, 85 Date result = pFormat.parse(input, position); 94 String expected2, Date date) { 98 format.format(date)); 102 format.format(date)); 118 f2.format(new Date()).getClass() == String.class); 134 f2.format(new Date()).getClass() == String.class); 139 "this is an invalid simple date format") 552 Date date = f1.get2DigitYearStart(); local 712 Date date = df.parse(output); local [all...] |
Support_MessageFormat.java | 24 import java.util.Date; 48 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!"; 51 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); local 54 hamburgers, date, date }; 75 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!"; 78 Date date = new GregorianCalendar(2005, 1, 28, 14, 20, 16).getTime(); local 81 hamburgers, date, date } [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/ |
WeekNumberTest.java | 33 public Time date; field in class:WeekNumberTest.DateAndWeekNumber 38 date = new Time(); 41 date.set(0, 0, 0, day, month, year); 42 date.normalize(true /* ignore isDst */); 209 int weekNumber = test.date.getWeekNumber(); 211 long millis = test.date.toMillis(false /* use isDst */); 215 + " date: " + output 223 long millis = test.date.toMillis(false /* use isDst */); 227 + " date: " + output
|
/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...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 32 import java.util.Date; 42 // Date: 12-18-2008 5:30AM 124 args = {CharSequence.class, Date.class} 140 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE); local 141 String source = dateFormat.format(date); 142 Date parseDate = dateFormat.parse(source); 143 assertEquals(date.getYear(), parseDate.getYear()); 144 assertEquals(date.getMonth(), parseDate.getMonth()) [all...] |
/external/icu4c/test/intltest/ |
tsdate.cpp | 91 fTestName = (UnicodeString) "Date test " + (int32_t) dateStyle + " (" + localeName + ")"; 150 UDate date[DEPTH]; local 161 date[0] = theDate; 167 date[i] = fFormat->parse(string[i-1], status); 175 fFormat->format(date[i], string[i]); 176 if (dateMatch == 0 && date[i] == date[i-1]) 178 else if (dateMatch > 0 && date[i] != date[i-1]) 181 errln("**** FAIL: Date mismatch after match for " + string[i]) [all...] |
tsdate.h | 40 * perform tests using date and fFormat, called in many variations 42 void tryDate(UDate date); 62 // Values in milliseconds (== Date) 73 DATE,
|
/build/core/ |
version_defaults.mk | 95 # from this date/time" value. Make it start with a non-digit so that 97 BUILD_NUMBER := eng.$(USER).$(shell date +%Y%m%d.%H%M%S)
|
/external/icu4c/samples/uresb/ |
resources.mak | 15 @echo All targets are up to date
|
/external/qemu/distrib/sdl-1.2.12/src/video/xbios/ |
SDL_xbios_sb3.h | 69 unsigned char date[8]; /* Date of program build */ member in struct:__anon9657
|
/external/webkit/Tools/QueueStatusServer/model/ |
queuestatus.py | 40 date = db.DateTimeProperty(auto_now_add=True) variable in class:QueueStatus
|
/frameworks/base/include/utils/ |
ZipFileRO.h | 181 const long date = when >> 16; local 182 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980 183 timespec->tm_mon = (date >> 5) & 0x0F; 184 timespec->tm_mday = date & 0x1F;
|
/libcore/luni/src/main/java/java/util/ |
Date.java | 30 * {@code Date} represents a specific moment in time, to the millisecond. 38 public class Date implements Serializable, Cloneable, Comparable<Date> { 43 private static int creationYear = new Date().getYear(); 48 * Initializes this {@code Date} instance to the current time. 50 public Date() { 55 * Constructs a new {@code Date} initialized to midnight in the default {@code TimeZone} on 56 * the specified date. 69 public Date(int year, int month, int day) { 76 * Constructs a new {@code Date} initialized to the specified date and time in th 379 int year = -1, month = -1, date = -1; local [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/backward/ |
backward_warning.h | 30 may be removed without further notice at a future date. Please use a \
|
/prebuilt/ndk/android-ndk-r5/sources/cxx-stl/gnu-libstdc++/include/backward/ |
backward_warning.h | 30 may be removed without further notice at a future date. Please use a \
|
/prebuilt/ndk/android-ndk-r6/sources/cxx-stl/gnu-libstdc++/include/backward/ |
backward_warning.h | 30 may be removed without further notice at a future date. Please use a \
|
/external/bluetooth/glib/tests/ |
testglib.c | 1279 GTimeVal ref_date, date; local [all...] |
/frameworks/opt/calendar/tests/src/com/android/calendarcommon/ |
RecurrenceProcessorTest.java | 40 for (long date : dates) { 41 time.set(date); 167 throw new RuntimeException("expected last occurrence date does not match." 586 // BUG 1658567: UNTIL=date 2493 Time date = new Time(tz); local [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
CookieManagerTest.java | 32 import java.util.Date; 233 Date date = new Date(); local 234 date.setTime(date.getTime() + 1000 * 600); 235 String value2 = cookie2 + "; expires=" + date.toGMTString(); 239 date = new Date(); 240 date.setTime(date.getTime() + expiration) [all...] |