/external/icu4c/test/cintltst/ |
cdtdptst.c | 15 /* INDEPTH TEST FOR DATE FORMAT */ 62 log_data_err("FAIL: Error in creating a date format using udat_openPattern %s - (Are you missing data?)\n", 121 /* this is supposed to open default date format, but later on it treats it like it is "en_US" 159 UDate date; local 170 date = udat_parse(format, str, u_strlen(str), &pos, &status); 171 if(U_FAILURE(status) || date == null) { 177 f=myDateFormat(format, date); 179 if (expected == null || date != expected) 205 log_data_err("FAIL: Error in date format construction with pattern: %s - (Are you missing data?)\n", myErrorName(status)); 236 UChar *date; local [all...] |
/external/libxml2/ |
xmlschemastypes.c | 58 /* Date value */ 121 xmlSchemaValDate date; member in union:_xmlSchemaVal::__anon11099 328 * TODO: Always keep those structs up-to-date with the originals. 469 xmlSchemaTypeDateDef = xmlSchemaInitBasicType("date", [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.32-1.js | 24 ECMA Section: 15.9.5.32 Date.prototype.setDate(date) 27 2. Call ToNumber(date). 34 Date: 12 november 1997 40 writeHeaderToLog( SECTION + " Date.prototype.setDate(date) "); 61 "TDATE = new Date(0);(TDATE).setDate(1);TDATE" ); 64 addNewTestCase( "TDATE = new Date(86400000);(TDATE).setDate(1);TDATE", 68 addNewTestCase( "TDATE = new Date(0);(TDATE).setUTCFullYear(1972);TDATE", 72 addNewTestCase( "TDATE = new Date(0);(TDATE).setUTCFullYear(1968);TDATE" [all...] |
15.9.5.33-1.js | 24 ECMA Section: 15.9.5.33 Date.prototype.setUTCDate(date) 27 2. Call ToNumber(date). 34 Date: 12 november 1997 40 writeHeaderToLog( SECTION + " Date.prototype.setUTCDate(date) "); 60 addNewTestCase( "TDATE = new Date(0);(TDATE).setUTCDate(31);TDATE", 64 addNewTestCase( "TDATE = new Date(0);(TDATE).setUTCDate(1);TDATE", 68 addNewTestCase( "TDATE = new Date(86400000);(TDATE).setUTCDate(1);TDATE", 72 addNewTestCase( "TDATE = new Date(0);(TDATE).setUTCFullYear(1972);TDATE" [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
DateUtils.java | 27 import java.util.Date; 39 * When parsing a date without a year, the system assumes 1970, which wasn't a leap-year. 44 // Variations of ISO 8601 date format. Do not change the order - it does affect the 65 * Parses the supplied string to see if it looks like a date. 67 * @param string The string representation of the provided date 68 * @param mustContainYear If true, the string is parsed as a date containing a year. If false, 69 * the string is parsed into a valid date even if the year field is missing. 70 * @return A Calendar object corresponding to the date if the string is successfully parsed. 75 Date date; local [all...] |
/packages/apps/Gallery2/src/com/android/camera/ |
MediaSaveService.java | 85 public void addImage(final byte[] data, String title, long date, Location loc, 92 ImageSaveTask t = new ImageSaveTask(data, title, date, 127 private long date; field in class:MediaSaveService.ImageSaveTask 135 public ImageSaveTask(byte[] data, String title, long date, Location loc, 140 this.date = date; 158 resolver, title, date, loc, orientation, exif, data, width, height);
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 29 import java.util.Date; 39 // Date: 2008-12-18 05:30 128 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE); local 129 String source = dateFormat.format(date); 130 Date parseDate = dateFormat.parse(source); 131 assertEquals(date.getYear(), parseDate.getYear()); 132 assertEquals(date.getMonth(), parseDate.getMonth()); 133 assertEquals(date.getDay(), date.getDay()) [all...] |
/external/icu4c/i18n/unicode/ |
smpdtfmt.h | 10 * Date Name Description 51 * parsing (text -> millis), and normalization. Formats/Parses a date or time, 54 * Clients are encouraged to create a date-time formatter using DateFormat::getInstance(), 63 * Date/Time format syntax: 65 * The date/time format is specified by means of a string time pattern. In this 109 * ' escape for text (Delimiter) 'Date=' 169 * // Parse the previous string back into a Date. 181 * When parsing a date string using the abbreviated year pattern ("y" or "yy"), 262 * date or time pattern are to be rendered using Thai digits, simply specify the numbering system override 263 * as "thai". To specify that just the year portion of the date be formatted using Hebrew numbering [all...] |
gregocal.h | 10 * Date Name Description 18 * 10/15/99 aliu Fixed j32, cannot set date to Feb 29 2000 AD. 46 * the date the Gregorian calendar was originally instituted (October 15, 1582). Not all 47 * countries adopted the Gregorian calendar then, so this cutover date may be changed by 94 * // and the current date and time 103 * cout << "DATE: " << calendar->get( UCAL_DATE, success ) << endl; 125 * cout << "DATE: " << calendar->get( UCAL_DATE, success ) << endl; 231 * Constructs a GregorianCalendar with the given AD date set in the default time 237 * @param date The value used to set the DATE time field in the calendar [all...] |
/external/jmonkeyengine/engine/src/test/jme3test/network/ |
TestSerialization.java | 90 Date date; field in class:TestSerialization.TestSerializationMessage 119 date = new Date(System.currentTimeMillis()); 139 System.out.println(cm.date);
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
Time.java | 4 * $Date$ 28 import java.util.Date; 90 utc = utcFormat.format(new Date( 99 public Date getTime() { 103 Date date = null; local 107 cal.setTime(new Date(utcFormat.parse(utc).getTime() + 109 date = cal.getTime(); 114 return date; 122 public void setTime(Date time) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Date/ |
15.9.5.4.js | 24 ECMA Section: 15.9.5.4 Date.prototype.toTimeString() 28 portion of the Date in the current time zone in a convenient, 33 Date: 14 november 2000 34 Revised: 07 january 2002 because of a change in JS Date format: 42 var TITLE = "Date.prototype.toTimeString()"; 73 status = "Date.prototype.toTimeString.length"; 74 actual = Date.prototype.toTimeString.length; 127 givenDate = new Date(date_given_in_milliseconds); 144 * Thus, use a regexp of the form /date.toDateString()(.*)$/ 147 function extractTimeString(date) [all...] |
15.9.5.7.js | 24 ECMA Section: 15.9.5.7 Date.prototype.toLocaleTimeString() 28 portion of the Date in the current time zone in a convenient, 37 Date: 14 november 2000 38 Revised: 07 january 2002 because of a change in JS Date format: 46 var TITLE = "Date.prototype.toLocaleTimeString()"; 76 status = "Date.prototype.toLocaleTimeString.length"; 77 actual = Date.prototype.toLocaleTimeString.length; 130 givenDate = new Date(date_given_in_milliseconds); 147 * So first, use a regexp of the form /date.toDateString()(.*)$/ 152 function extractLocaleTimeString(date) [all...] |
/external/webkit/Tools/wx/packaging/ |
build-win-installer.py | 68 date = str(datetime.date.today()) variable 95 installerTemplate = installerTemplate.replace("<<VERSION>>", date)
|
/frameworks/base/core/java/android/widget/ |
CalendarView.java | 58 * of dates supported by this calendar is configurable. A user can select a date 59 * by taping on it and can scroll and fling the calendar to a desired date. 130 * The default minimal date. 135 * The default maximal date. 293 * The start date of the range supported by this picker. 298 * The end date of the range supported by this picker. 303 * Date format for parsing dates. 313 * The callback used to indicate the user changes the date. 357 throw new IllegalArgumentException("Max date cannot be before min date.") 748 Calendar date = mAdapter.mSelectedDate; local 798 Calendar date = mAdapter.mSelectedDate; local [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 26 import java.util.Date;
33 private final Date date;
field in class:DateTime 44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone);
69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) {
82 public Date getDate() {
83 return date;
|
/external/icu4c/test/intltest/ |
loctest.cpp | 1356 LocaleTest::date(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) function in class:LocaleTest 2220 UDate date = uprv_getUTCtime(); local [all...] |
tzbdtest.cpp | 92 logln("Date Before: " + showDate(min)); 93 logln("Date After: " + showDate(max)); 159 return showDate(new Date(l)); 324 UDate d = date(97, UCAL_APRIL, 6); 341 findDaylightBoundaryUsingDate(date(97, 0, 1), "PST", PST_1997_BEG); 343 findDaylightBoundaryUsingDate(date(97, 6, 1), "PDT", PST_1997_END); 351 findDaylightBoundaryUsingTimeZone(date(97, 0, 1), TRUE, 859653000000.0, z); 353 findDaylightBoundaryUsingTimeZone(date(97, 6, 1), FALSE, 877797000000.0, z); 361 findDaylightBoundaryUsingTimeZone(date(97, 0, 1), FALSE, PST_1997_BEG); 363 findDaylightBoundaryUsingTimeZone(date(97, 6, 1), TRUE, PST_1997_END) [all...] |
/cts/tests/tests/net/src/android/net/http/cts/ |
SslCertificateTest.java | 32 import java.util.Date; 44 String date = DateFormat.getInstance().format(new Date()); local 45 new SslCertificate("c=129", "e=weji", date, date); 60 public void checkValidity(Date date) throws CertificateExpiredException, 85 public Date getNotAfter() { 86 return new Date(System.currentTimeMillis()); 90 public Date getNotBefore() [all...] |
/device/google/accessory/demokit/ |
make-download.sh | 25 dateStamp=`date +"%Y%m%d"`
|
/external/emma/lib/internal/ |
stamptool.jar | |
/external/icu4c/i18n/ |
cecal.h | 78 * (Overrides Calendar) Return true if the current date for this Calendar is in 82 * @return True if the current date for this Calendar is in Daylight Savings Time, 98 * return the date offset from Julian 113 static int32_t ceToJD(int32_t year, int32_t month, int32_t date, 123 * @param date receives the day
|
olsontz.h | 181 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset, 187 virtual void getOffsetFromLocal(UDate date, int32_t nonExistingTimeOpt, int32_t duplicatedTimeOpt, 216 virtual UBool inDaylightTime(UDate date, UErrorCode& ec) const; 293 void getHistoricalOffset(UDate date, UBool local, 363 * A SimpleTimeZone that governs the behavior for date >= finalMillis. 368 * For date >= finalMillis, the finalZone will be used.
|
tzgnames.h | 51 UDate date, UnicodeString& name) const;
|
/external/icu4c/samples/date/ |
Makefile.in | 1 ## Makefile.in for ICU - samples/date 15 subdir = samples/date 26 OBJECTS = uprint.o date.o
|