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

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /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.SimpleMonthAdapter.CalendarDay;
23 * Controller class to communicate among the various components of the date picker dialog.
  /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...]
  /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/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...]
  /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 * Returns the invalidity date.
49 public Date getDate() {
50 return date;
    [all...]
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
Support_SimpleDateFormat.java 25 import java.util.Date;
55 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, 15, 17);
77 t_FormatWithField(2, format, date, null, Field.MONTH, 26, 27);
78 t_FormatWithField(3, format, date, null, Field.DAY_OF_MONTH, 45, 47);
79 t_FormatWithField(4, format, date, null, Field.HOUR_OF_DAY1, 55, 57);
80 t_FormatWithField(5, format, date, null, Field.HOUR_OF_DAY0, 65, 67);
81 t_FormatWithField(6, format, date, null, Field.HOUR1, 75, 76)
142 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 108 DateComponents date; local
109 if (!parseToDateComponents(source, &date))
111 double msec = date.millisecondsSinceEpoch();
130 DateComponents date;
131 if (!setMillisecondToDateComponents(value.toDouble(), &date))
133 return serializeWithComponents(date);
136 String BaseDateAndTimeInputType::serializeWithComponents(const DateComponents& date) const
140 return date.toString();
142 return date.toString(DateComponents::None);
144 return date.toString(DateComponents::Second)
155 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);
  /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);
  /packages/apps/Dialer/src/com/android/dialer/
PhoneCallDetails.java 43 /** The date of the call, in milliseconds since the epoch. */
44 public final long date; field in class:PhoneCallDetails
70 int[] callTypes, long date, long duration) {
72 callTypes, date, duration, "", 0, "", null, null, 0);
78 int[] callTypes, long date, long duration, CharSequence name,
87 this.date = 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...]
  /packages/wallpapers/Basic/src/com/android/wallpaper/grass/
SunCalculator.java 56 * Computes the sunrise time for the given zenith at the given date.
60 * @param date <code>Calendar</code> object representing the date to
64 public double computeSunriseTime(double solarZenith, Calendar date) {
65 return computeSolarEventTime(solarZenith, date, true);
69 * Computes the sunset time for the given zenith at the given date.
73 * @param date <code>Calendar</code> object representing the date to compute
77 public double computeSunsetTime(double solarZenith, Calendar date) {
78 return computeSolarEventTime(solarZenith, date, false)
    [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();
  /external/bluetooth/bluedroid/tools/
gen-buildcfg.sh 15 DATE=`/usr/bin/env date`
21 echo "/* Auto-generated from $1 on ${DATE} */" > $2
  /external/chromium_org/v8/test/mjsunit/regress/
regress-91.js 28 var date = new Date();
29 var year = date.getYear();
30 date.setMilliseconds(Number.NaN);
31 date.setYear(1900 + year);
32 assertEquals(year, date.getYear());
33 assertEquals(0, date.getMonth());
34 assertEquals(1, date.getDate());
35 assertEquals(0, date.getHours());
36 assertEquals(0, date.getMinutes())
    [all...]
  /external/v8/test/mjsunit/regress/
regress-91.js 28 var date = new Date();
29 var year = date.getYear();
30 date.setMilliseconds(Number.NaN);
31 date.setYear(1900 + year);
32 assertEquals(year, date.getYear());
33 assertEquals(0, date.getMonth());
34 assertEquals(1, date.getDate());
35 assertEquals(0, date.getHours());
36 assertEquals(0, date.getMinutes())
    [all...]

Completed in 967 milliseconds

1 2 3 4 5 6 7 8 91011>>