/external/v8/test/intl/date-format/ |
H A D | parse-MMMdy.js | 28 // Testing v8Parse method for date and time pattern. 39 var date = dtf.v8Parse('Feb 4, 1974'); variable 40 assertEquals(1974, date.getUTCFullYear()); 41 assertEquals(1, date.getUTCMonth()); 42 assertEquals(4, date.getUTCDate());
|
H A D | parse-mdyhms.js | 28 // Testing v8Parse method for date and time pattern. 39 var date = dtf.v8Parse('2/4/74 12:30:42 pm'); variable 40 assertEquals(1974, date.getUTCFullYear()); 41 assertEquals(1, date.getUTCMonth()); 42 assertEquals(4, date.getUTCDate()); 43 assertEquals(12, date.getUTCHours()); 44 assertEquals(30, date.getUTCMinutes()); 45 assertEquals(42, date.getUTCSeconds()); 56 // Wrong date delimiter.
|
/external/lldb/test/functionalities/command_source/ |
H A D | my.py | 1 def date(): function 3 today = datetime.date.today()
|
/external/chromium-trace/trace-viewer/third_party/Paste/tests/test_util/ |
H A D | test_datetimeutil.py | 6 from datetime import date namespace 49 assert(date(yr,4,11) == parse_date("411")) 50 assert(date(yr,4,11) == parse_date("APR11")) 51 assert(date(yr,4,11) == parse_date("11APR")) 52 assert(date(yr,4,11) == parse_date("4 11")) 53 assert(date(yr,4,11) == parse_date("11 APR")) 54 assert(date(yr,4,11) == parse_date("APR 11")) 55 assert(date(yr,mo,11) == parse_date("11")) 56 assert(date(yr,4,1) == parse_date("APR")) 57 assert(date(y [all...] |
/external/chromium-trace/trace-viewer/perf_insights/perf_insights/ |
H A D | trace_info.py | 9 date = ndb.DateTimeProperty(auto_now_add=True, indexed=True) variable in class:TraceInfo
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/ |
H A D | DateHelper.java | 28 * @return date the corresponding <code>Date</code> 36 * Converts a date as long to a mac date as long 38 * @param date date to convert 39 * @return date in mac format 41 static public long convert(Date date) { argument 42 return (date.getTime() / 1000L) + 2082844800L;
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
H A D | DateParser.java | 41 * @param date message to parse to set 43 public DateParser(String date) { argument 44 super(date); 64 Calendar cal = date();
|
H A D | HeaderParser.java | 78 * parse and return a date field. 79 * @return a date structure with the parsed value. 81 protected Calendar date() throws ParseException { method in class:HeaderParser 123 throw createParseException("bad date field");
|
/external/nist-sip/java/javax/sip/header/ |
H A D | DateHeader.java | 9 void setDate(Calendar date); argument
|
/external/apache-http/src/org/apache/http/client/ |
H A D | CookieStore.java | 70 * the specified {@link java.util.Date date}. 74 boolean clearExpired(Date date); argument
|
/external/apache-http/src/org/apache/http/impl/client/ |
H A D | BasicCookieStore.java | 135 * that have expired by the specified {@link java.util.Date date}. 141 public synchronized boolean clearExpired(final Date date) { argument 142 if (date == null) { 147 if (it.next().isExpired(date)) {
|
/external/icu/icu4c/source/i18n/ |
H A D | windtfmt.h | 55 UnicodeString& format(UDate date, UnicodeString& appendTo) const; 60 * Set the calendar to be used by this date format. Initially, the default 69 * Set the calendar to be used by this date format. Initially, the default 130 inline UnicodeString &Win32DateFormat::format(UDate date, UnicodeString& appendTo) const { argument 131 return DateFormat::format(date, appendTo);
|
/external/icu/icu4c/source/samples/datefmt/answers/ |
H A D | main_2.cpp | 42 UDate date; local 44 // The languages in which we will display the date 66 date = cal->getTime(status); 75 // Format the date 77 fmt->format(date, str, status); 79 // Display the formatted date string
|
H A D | main_3.cpp | 42 UDate date; local 44 // The languages in which we will display the date 66 date = cal->getTime(status); 81 // Format the date 83 fmt->format(date, str, status); 85 // Display the formatted date string
|
/external/icu/icu4c/source/samples/datefmt/ |
H A D | main.cpp | 42 UDate date; local 44 // The languages in which we will display the date 66 date = cal->getTime(status); 81 // Format the date 83 fmt->format(date, str, status); 85 // Display the formatted date string
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
H A D | DateFormatter.java | 20 * Format the date, provided as a java Date object. 22 * @param date the date 25 String format(Date date); argument 28 * Format the date, provided as milliseconds. 30 * @param date the date in milliseconds 33 String format(long date); argument
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | DangiCalendar.java | 44 * the lunar date calculation. Therefore, the following simpler rule works: 93 * Construct a <code>DangiCalendar</code> with the give date set in the default time zone 95 * @param date The date to which the new calendar is set. 101 public DangiCalendar(Date date) { argument 103 setTime(date);
|
H A D | DateRule.java | 16 * DateRule is an interface for calculating the date of an event. 29 * that is on or after the given start date. 31 * @param start Only occurrances on or after this date are returned. 33 * @return The date on which this event occurs, or null if it 34 * does not occur on or after the start date. 44 * that is on or after the given start date and before the given 45 * end date. 47 * @param start Only occurrances on or after this date are returned. 48 * @param end Only occurrances before this date are returned. 50 * @return The date o 71 isOn(Date date) argument [all...] |
/external/jetty/src/java/org/eclipse/jetty/io/ |
H A D | BufferDateCache.java | 51 public synchronized Buffer formatBuffer(long date) argument 53 String d = super.format(date);
|
/external/ksoap2/kobjects/org/ksoap2/kobjects/isodate/ |
H A D | IsoDate.java | 36 public static String dateToString(Date date, int type) { argument 40 c.setTime(date);
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
H A D | SIPDateHeader.java | 50 /** date field 52 protected SIPDate date; field in class:SIPDateHeader 64 return date.encode(); 68 * Set the date member 72 date = d; 77 * Sets date of DateHeader. The date is repesented by the Calendar object. 79 * @param dat the Calendar object date of this header. 83 date = new SIPDate(dat.getTime().getTime()); 87 * Gets the date o [all...] |
/external/toybox/toys/posix/ |
H A D | touch.c | 32 char *date; 44 char *s, *date; local 53 date = TT.date; 54 i = strlen(date); 57 if (toupper(date[i-1])=='Z') { 58 date[i-1] = 0; 62 s = strptime(date, "%Y-%m-%dT%T", &tm); 72 date = TT.time; 73 i = ((s = strchr(date, ' [all...] |
/external/apache-http/src/org/apache/http/cookie/ |
H A D | Cookie.java | 137 * @param date Current time 141 boolean isExpired(final Date date); argument
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
H A D | BasicClientCookie2.java | 94 public boolean isExpired(final Date date) { argument 95 return this.discard || super.isExpired(date);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
H A D | X509AttributeCertificate.java | 38 * Return the date before which the certificate is not valid. 40 * @return the "not valid before" date. 45 * Return the date after which the certificate is not valid. 47 * @return the "not valid afer" date. 85 public void checkValidity(Date date) argument
|