Searched defs:date (Results 1 - 25 of 232) sorted by relevance

12345678910

/external/v8/test/intl/date-format/
H A Dparse-MMMdy.js28 // 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 Dparse-mdyhms.js28 // 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 Dmy.py1 def date(): function
3 today = datetime.date.today()
/external/chromium-trace/trace-viewer/third_party/Paste/tests/test_util/
H A Dtest_datetimeutil.py6 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 Dtrace_info.py9 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 DDateHelper.java28 * @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 DDateParser.java41 * @param date message to parse to set
43 public DateParser(String date) { argument
44 super(date);
64 Calendar cal = date();
H A DHeaderParser.java78 * 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 DDateHeader.java9 void setDate(Calendar date); argument
/external/apache-http/src/org/apache/http/client/
H A DCookieStore.java70 * the specified {@link java.util.Date date}.
74 boolean clearExpired(Date date); argument
/external/apache-http/src/org/apache/http/impl/client/
H A DBasicCookieStore.java135 * 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 Dwindtfmt.h55 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 Dmain_2.cpp42 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 Dmain_3.cpp42 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 Dmain.cpp42 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 DDateFormatter.java20 * 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 DDangiCalendar.java44 * 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 DDateRule.java16 * 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 DBufferDateCache.java51 public synchronized Buffer formatBuffer(long date) argument
53 String d = super.format(date);
/external/ksoap2/kobjects/org/ksoap2/kobjects/isodate/
H A DIsoDate.java36 public static String dateToString(Date date, int type) { argument
40 c.setTime(date);
/external/nist-sip/java/gov/nist/javax/sip/header/
H A DSIPDateHeader.java50 /** 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 Dtouch.c32 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 DCookie.java137 * @param date Current time
141 boolean isExpired(final Date date); argument
/external/apache-http/src/org/apache/http/impl/cookie/
H A DBasicClientCookie2.java94 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 DX509AttributeCertificate.java38 * 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

Completed in 918 milliseconds

12345678910