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

1 2 3 4 5 6 7 8 91011>>

  /external/lldb/test/functionalities/command_source/
my.py 1 def date(): function
3 today = datetime.date.today()
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DateBucket.java 7 * Date bucket for {@link MtpDeviceIndex}.
12 final SimpleDate date; field in class:DateBucket
18 public DateBucket(SimpleDate date, int unifiedStartIndex, int unifiedEndIndex,
20 this.date = date;
29 return date.toString();
34 return date.hashCode();
49 if (date == null) {
50 if (other.date != null) {
53 } else if (!date.equals(other.date))
    [all...]
  /libcore/luni/src/test/java/tests/java/sql/
SqlDateTest.java 17 import java.sql.Date;
28 for (String date : dates) {
29 Date.valueOf(date);
42 for (String date : invalidDates) {
44 Date.valueOf(date);
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/
WeekPicker.java 23 // initialize to current date
32 * Creates a date object from the |year| and |week|.
35 Calendar date = Calendar.getInstance(TimeZone.getTimeZone("UTC")); local
36 date.clear();
37 date.setFirstDayOfWeek(Calendar.MONDAY);
38 date.setMinimalDaysInFirstWeek(4);
39 date.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY);
40 date.set(Calendar.YEAR, year);
41 date.set(Calendar.WEEK_OF_YEAR, week);
42 return date;
49 Calendar date = Calendar.getInstance(TimeZone.getTimeZone("UTC")); local
80 Calendar date = createDateFromWeek(year, week); local
92 Calendar date = createDateFromWeek(year, 20); local
    [all...]
  /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...]
  /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).
35 /** invalidity date value */
36 private final Date date; field in class:InvalidityDate
43 date = (Date) ASN1.decode(encoding);
47 * Constructs the object from a date instance.
49 public InvalidityDate(Date date) {
    [all...]
  /external/chromium_org/v8/test/webkit/
date-set-to-nan.js 25 "This tests if the Date setters handle invalid parameters correctly resulting in a NaN date and if a recovery from such a NaN date is only possible by using the date.setTime() and date.set[[UTC]Full]Year() functions."
38 "Date",
75 var date = new Date();
76 var setValue = date["get" + functionNameRoot]();
77 date.setMilliseconds(Number.NaN)
    [all...]
  /external/libcxx/test/utilities/date.time/
Android.mk 17 test_makefile := external/libcxx/test/utilities/date.time/Android.mk
19 test_name := utilities/date.time/tested_elsewhere
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/
DateHelper.java 18 import java.util.Date;
21 * Converts ISO Dates (seconds since 1/1/1904) to Date and vice versa.
25 * Converts a long value with seconds since 1/1/1904 to Date.
28 * @return date the corresponding <code>Date</code>
30 static public Date convert(long secondsSince) {
31 return new Date((secondsSince - 2082844800L) * 1000L);
36 * Converts a date as long to a mac date as long
38 * @param date date to conver
    [all...]
  /external/valgrind/main/gdbserver_tests/
filter_make_empty 6 # is copied to a file, together with date and process.
9 date >> garbage.filtered.out
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/
DateTimeField.java 32 import java.util.Date;
35 private Date date; field in class:DateTimeField
38 protected DateTimeField(String name, String body, String raw, Date date, ParseException parseException) {
40 this.date = date;
44 public Date getDate() {
45 return date;
56 Date date = null local
    [all...]
  /external/chromium_org/v8/test/mjsunit/regress/
regress-builtinbust-7.js 12 var date = new Date(Date.UTC(2004, 12, 25, 3, 0, 0));
21 assertDoesNotThrow(function() { date.toLocaleDateString("de-DE", options); });
25 date.toLocaleDateString("de-DE", options_incomplete);
29 assertDoesNotThrow(function() { date.toLocaleDateString("de-DE", undefined); });
30 assertDoesNotThrow(function() { date.toLocaleDateString("de-DE"); });
31 assertThrows(function() { date.toLocaleDateString("de-DE", null); }, TypeError);
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DatePickerController.java 17 package com.android.datetimepicker.date;
19 import com.android.datetimepicker.date.DatePickerDialog.OnDateChangedListener;
20 import com.android.datetimepicker.date.MonthAdapter.CalendarDay;
25 * Controller class to communicate among the various components of the date picker dialog.
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
Support_SimpleDateFormat.java 25 import java.util.Date;
53 Date date = cal.getTime(); local
75 t_FormatWithField(0, format, date, null, Field.ERA, 0, 2);
76 t_FormatWithField(1, format, date, null, Field.YEAR, 6, 10);
77 t_FormatWithField(2, format, date, null, Field.MONTH, 19, 20);
78 t_FormatWithField(3, format, date, null, Field.DAY_OF_MONTH, 38, 40);
79 t_FormatWithField(4, format, date, null, Field.HOUR_OF_DAY1, 48, 50);
80 t_FormatWithField(5, format, date, null, Field.HOUR_OF_DAY0, 58, 60);
81 t_FormatWithField(6, format, date, null, Field.HOUR1, 68, 69)
137 Date date = cal.getTime(); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
MonthInputType.cpp 71 DateComponents date; local
72 if (!parseToDateComponents(element().value(), &date))
74 double msec = date.millisecondsSinceEpoch();
81 DateComponents date; local
82 if (!date.setMillisecondsSinceEpochForMonth(value))
84 return serializeWithComponents(date);
95 DateComponents date; local
96 date.setMillisecondsSinceEpochForMonth(current);
97 double months = date.monthsSinceEpoch();
111 DateComponents date; local
    [all...]
BaseDateAndTimeInputType.cpp 107 DateComponents date; local
108 if (!parseToDateComponents(source, &date))
110 double msec = date.millisecondsSinceEpoch();
129 DateComponents date;
130 if (!setMillisecondToDateComponents(value.toDouble(), &date))
132 return serializeWithComponents(date);
135 String BaseDateAndTimeInputType::serializeWithComponents(const DateComponents& date) const
139 return date.toString();
141 return date.toString(DateComponents::None);
143 return date.toString(DateComponents::Second)
154 DateComponents date; local
    [all...]
TimeInputType.cpp 82 DateComponents date; local
83 date.setMillisecondsSinceMidnight(current);
84 double milliseconds = date.millisecondsSinceEpoch();
103 bool TimeInputType::setMillisecondToDateComponents(double value, DateComponents* date) const
105 ASSERT(date);
106 return date->setMillisecondsSinceMidnight(value);
118 DateComponents date; local
119 if (!parseToDateComponents(proposedValue, &date))
122 Locale::FormatType formatType = shouldHaveSecondField(date) ? Locale::FormatTypeMedium : Locale::FormatTypeShort;
124 String localized = element().locale().formatDateTime(date, formatType)
    [all...]
  /external/nist-sip/java/javax/sip/header/
DateHeader.java 6 String NAME = "Date";
9 void setDate(Calendar date);
  /frameworks/base/include/androidfw/
ZipUtils.h 67 const long date = when >> 16; local
68 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980
69 timespec->tm_mon = (date >> 5) & 0x0F;
70 timespec->tm_mday = date & 0x1F;
  /external/chromium_org/third_party/WebKit/Source/core/page/
PagePopupController.cpp 81 DateComponents date;
82 date.setMonthsSinceEpoch((year - 1970) * 12.0 + zeroBaseMonth);
83 return m_popupClient->locale().formatDateTime(date, Locale::FormatTypeMedium);
90 DateComponents date;
91 date.setMonthsSinceEpoch((year - 1970) * 12.0 + zeroBaseMonth);
92 return m_popupClient->locale().formatDateTime(date, Locale::FormatTypeShort);
  /libcore/benchmarks/src/benchmarks/regression/
DateToStringBenchmark.java 24 import java.util.Date;
28 Date date; field in class:DateToStringBenchmark
34 date = new Date(0);
36 calendar.setTime(date);
42 date.toString();
48 new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy").format(date);
54 ((SimpleDateFormat) format.clone()).format(date);
  /external/chromium_org/v8/test/intl/overrides/
date.js 28 // Tests Date.prototype.toLocaleXXXString method overrides.
30 var date = new Date();
40 assertEquals(dtfAll.format(date), date.toLocaleString());
41 assertEquals(dtfDate.format(date), date.toLocaleDateString());
42 assertEquals(dtfTime.format(date), date.toLocaleTimeString());
53 assertEquals(dtfAll.format(date), date.toLocaleString(locale))
    [all...]
  /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 * 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
353 Date date = format.parse(formattedCurrent); local
    [all...]
  /external/chromium_org/third_party/lcov/bin/
updateversion.pl 64 my @date = get_file_info($filename);
65 my $date_string = $date[0];
80 chmod(oct($date[2]), "$filename.new");
82 system("touch", "$filename", "-t", $date[1]);
88 my @date = get_file_info($filename);
101 chmod(oct($date[2]), "$filename.new");
103 system("touch", "$filename", "-t", $date[1]);
109 my @date = get_file_info($filename);
117 s/(Last\s+changes:\s+)\d\d\d\d-\d\d-\d\d/$1$date[0]/g;
122 chmod(oct($date[2]), "$filename.new")
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/parser/
DateParser.java 32 * Parser for SIP Date field. Converts from SIP Date to the
35 * @version 1.2 $Revision: 1.11 $ $Date: 2009/07/17 18:57:59 $
41 * @param date message to parse to set
43 public DateParser(String date) {
44 super(date);
54 * @return the parsed Date header/
60 headerName(TokenTypes.DATE);
64 Calendar cal = date();

Completed in 1089 milliseconds

1 2 3 4 5 6 7 8 91011>>