HomeSort by relevance Sort by last modified time
    Searched defs:date (Results 1 - 25 of 197) sorted by null

1 2 3 4 5 6 7 8

  /external/openssl/apps/
version.c 143 int cflags=0,version=0,date=0,options=0,platform=0,dir=0; local
157 date=1;
167 date=version=cflags=options=platform=dir=1;
189 if (date) printf("%s\n",SSLeay_version(SSLEAY_BUILT_ON));
  /external/webkit/WebKitTools/QueueStatusServer/model/
queuestatus.py 37 date = db.DateTimeProperty(auto_now_add=True) variable in class:QueueStatus
  /libcore/luni/src/test/java/libcore/java/text/
OldDateFormatTest.java 25 import java.util.Date;
40 public Date parse(String source, ParsePosition pos) {
46 public StringBuffer format(Date date, StringBuffer toAppendTo,
84 * @tests java.text.DateFormat#format(java.util.Date) Test of method
85 * java.text.DateFormat#format(java.util.Date).
91 Date current = new Date();
94 assertTrue("Incorrect date format", sdf.format(current).equals(dtf));
109 Date current = new Date()
219 Date date = format.parse(format.format(current).toString()); local
252 Date date = format.parse(format.format(current).toString()); local
280 Date date = format.parse(format.format(current).toString()); local
294 Date date = format.parse(format.format(current).toString()); local
308 Date date = format.parse(format.format(current).toString()); local
327 Date date = format.parse(format.format(current).toString()); local
354 Date date = format.parse(format.format(current).toString()); local
    [all...]
  /cts/tests/tests/text/src/android/text/format/cts/
DateFormatTest.java 32 import java.util.Date;
41 // Date: 12-18-2008 5:30AM
123 args = {CharSequence.class, Date.class}
139 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE); local
140 String source = dateFormat.format(date);
141 Date parseDate = dateFormat.parse(source);
142 assertEquals(date.getYear(), parseDate.getYear());
143 assertEquals(date.getMonth(), parseDate.getMonth())
    [all...]
  /external/chromium/base/
time_mac.cc 64 CFGregorianDate date; local
65 date.second = exploded.second +
67 date.minute = exploded.minute;
68 date.hour = exploded.hour;
69 date.day = exploded.day_of_month;
70 date.month = exploded.month;
71 date.year = exploded.year;
75 CFAbsoluteTime seconds = CFGregorianDateGetAbsoluteTime(date, time_zone) +
88 CFGregorianDate date = CFAbsoluteTimeGetGregorianDate(seconds, time_zone); local
90 exploded->year = date.year
    [all...]
scoped_variant_win_unittest.cc 114 DATE date; local
115 ::SystemTimeToVariantTime(&sys_time, &date);
117 var.SetDate(date);
119 EXPECT_EQ(date, V_DATE(&var));
  /external/icu4c/samples/datefmt/answers/
main_2.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
75 // Format the date
77 fmt->format(date, str, status);
79 // Display the formatted date string
80 printf("Date (%s): ", LANGUAGE[i]);
main_3.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/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/nist-sip/java/gov/nist/javax/sip/header/
SIPDateHeader.java 35 * Date Header.
37 *@version 1.2 $Revision: 1.6 $ $Date: 2009/07/17 18:57:37 $
50 /** date field
52 protected SIPDate date; field in class:SIPDateHeader
57 super(DATE);
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
    [all...]
  /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);
  /libcore/luni/src/main/java/org/apache/harmony/security/x509/
InvalidityDate.java 21 import java.util.Date;
26 * CRL Entry's Invalidity Date Extension (OID = 2.5.29.24).
36 // invalidity date value
37 private final Date date; field in class:InvalidityDate
40 * Constructs the object on the base of the invalidity date value.
42 public InvalidityDate(Date date) {
43 this.date = 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...]
Support_SimpleDateFormat.java 25 import java.util.Date;
52 Date date = cal.getTime(); local
72 t_FormatWithField(0, format, date, null, Field.ERA, 0, 2);
73 t_FormatWithField(1, format, date, null, Field.YEAR, 6, 8);
74 t_FormatWithField(2, format, date, null, Field.MONTH, 17, 18);
75 t_FormatWithField(3, format, date, null, Field.DAY_OF_MONTH, 36, 38);
76 t_FormatWithField(4, format, date, null, Field.HOUR_OF_DAY1, 46, 48);
77 t_FormatWithField(5, format, date, null, Field.HOUR_OF_DAY0, 56, 58);
78 t_FormatWithField(6, format, date, null, Field.HOUR1, 66, 67)
139 Date date = cal.getTime(); local
    [all...]
  /packages/apps/Email/src/org/apache/james/mime4j/field/
DateTimeField.java 29 import java.util.Date;
32 private Date date; field in class:DateTimeField
35 protected DateTimeField(String name, String body, String raw, Date date, ParseException parseException) {
37 this.date = date;
41 public Date getDate() {
42 return date;
53 Date date = null; local
    [all...]
  /external/chromium/third_party/icu/source/test/intltest/
caltztst.cpp 11 * Date Name Description
136 // Tries to mimic the Java Date.toString() format.
178 // Utility methods to create a date. This is useful for converting Java constructs
179 // which create a Date object.
181 CalendarTimeZoneTest::date(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) function in class:CalendarTimeZoneTest
186 cal->set(1900 + y, m, d, hr, min, sec); // Add 1900 to follow java.util.Date protocol
198 // Utility methods to create a date. The returned Date is UTC rather than local.
199 /*Date
205 Date dt = date(y, m, d, hr, min, sec)
    [all...]
  /external/icu4c/samples/date/
date.c 7 * File date.c
11 * Date Name Description
46 static void date(const UChar *tz, UDateFormatStyle style, char *format, UErrorCode *status);
49 /* The version of date */
82 /* display date in gmt */
86 /* display date in gmt */
90 /* display date in long format */
94 /* display date in medium format */
98 /* display date in short format */
119 /* done with options, display date */
192 date(const UChar *tz, function
    [all...]
  /external/icu4c/test/intltest/
caltztst.cpp 11 * Date Name Description
136 // Tries to mimic the Java Date.toString() format.
178 // Utility methods to create a date. This is useful for converting Java constructs
179 // which create a Date object.
181 CalendarTimeZoneTest::date(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) function in class:CalendarTimeZoneTest
186 cal->set(1900 + y, m, d, hr, min, sec); // Add 1900 to follow java.util.Date protocol
198 // Utility methods to create a date. The returned Date is UTC rather than local.
199 /*Date
205 Date dt = date(y, m, d, hr, min, sec)
    [all...]
  /external/bluetooth/hcidump/src/
csrsniff.c 55 char *date; member in struct:__anon2277
  /external/v8/test/mjsunit/
to_number_order.js 53 var date = { valueOf: function() { x += 3; return 4; } };
60 new Date(year, month, date, hours, minutes, seconds, ms);
62 assertEquals("1234567", x, "Date");
65 Date(year, month, date, hours, minutes, seconds, ms);
66 assertEquals("", x, "Date not constructor");
69 Date.UTC(year, month, date, hours, minutes, seconds, ms);
71 assertEquals("1234567", x, "Date.UTC")
    [all...]
  /external/webkit/JavaScriptCore/runtime/
DateConstructor.cpp 80 if (numArgs == 0) // new Date() ECMA 15.9.3.3
137 DateConversionBuffer date; local
139 formatDate(ts, date);
141 return jsMakeNontrivialString(exec, date, " ", time);
  /libcore/luni/src/main/java/java/util/logging/
XMLFormatter.java 23 import java.util.Date;
59 // format to date
60 String date = MessageFormat.format("{0, date} {0, time}", local
61 new Object[] { new Date(time) });
65 sb.append(indent).append(("<date>")).append(date).append(("</date>"))
  /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 */);
208 int weekNumber = test.date.getWeekNumber();
210 long millis = test.date.toMillis(false /* use isDst */);
214 + " date: " + output
222 long millis = test.date.toMillis(false /* use isDst */);
226 + " date: " + output
  /cts/tests/tests/webkit/src/android/webkit/cts/
CookieManagerTest.java 32 import java.util.Date;
232 Date date = new Date(); local
233 date.setTime(date.getTime() + 1000 * 600);
234 String value2 = cookie2 + "; expires=" + date.toGMTString();
238 date = new Date();
239 date.setTime(date.getTime() + expiration)
    [all...]
  /packages/apps/Email/tests/src/com/android/email/mail/store/imap/
ImapStringTest.java 34 import java.util.Date;
99 final ImapString date = new ImapSimpleString("01-Jan-2009 11:34:56 -0100"); local
101 assertTrue(date.isDate());
102 Date d = date.getDateOrNull();

Completed in 948 milliseconds

1 2 3 4 5 6 7 8