/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/input/ |
WeekPicker.java | 22 // initialize to current date 31 Calendar date = Calendar.getInstance(); local 32 date.clear(); 33 date.setFirstDayOfWeek(Calendar.MONDAY); 34 date.setMinimalDaysInFirstWeek(4); 35 date.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY); 36 date.set(Calendar.YEAR, year); 37 date.set(Calendar.WEEK_OF_YEAR, week); 38 return date; 43 Calendar date = Calendar.getInstance() local 69 Calendar date = createDateFromWeek(year, week); local 81 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/printing/ |
print_settings_initializer.cc | 36 string16 date = base::TimeFormatShortDateNumeric(base::Time::Now()); 44 print_settings->date = date;
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
MonthInputType.cpp | 79 DateComponents date; local 80 if (!parseToDateComponents(element()->value(), &date)) 82 double msec = date.millisecondsSinceEpoch(); 89 DateComponents date; local 90 if (!date.setMillisecondsSinceEpochForMonth(value)) 92 return serializeWithComponents(date); 103 DateComponents date; local 104 date.setMillisecondsSinceEpochForMonth(current); 105 double months = date.monthsSinceEpoch(); 123 DateComponents date; local [all...] |
BaseDateAndTimeInputType.cpp | 97 DateComponents date; local 98 if (!parseToDateComponents(source, &date)) 100 double msec = date.millisecondsSinceEpoch(); 119 DateComponents date; 120 if (!setMillisecondToDateComponents(value.toDouble(), &date)) 122 return serializeWithComponents(date); 125 String BaseDateAndTimeInputType::serializeWithComponents(const DateComponents& date) const 129 return date.toString(); 131 return date.toString(DateComponents::None); 133 return date.toString(DateComponents::Second) 144 DateComponents date; local [all...] |
TimeInputType.cpp | 90 DateComponents date; local 91 date.setMillisecondsSinceMidnight(current); 92 double milliseconds = date.millisecondsSinceEpoch(); 115 bool TimeInputType::setMillisecondToDateComponents(double value, DateComponents* date) const 117 ASSERT(date); 118 return date->setMillisecondsSinceMidnight(value); 130 DateComponents date; local 131 if (!parseToDateComponents(proposedValue, &date)) 134 Locale::FormatType formatType = shouldHaveSecondField(date) ? Locale::FormatTypeMedium : Locale::FormatTypeShort; 136 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 | 82 DateComponents date; 83 date.setMonthsSinceEpoch((year - 1970) * 12.0 + zeroBaseMonth); 84 return m_popupClient->locale().formatDateTime(date, Locale::FormatTypeMedium); 91 DateComponents date; 92 date.setMonthsSinceEpoch((year - 1970) * 12.0 + zeroBaseMonth); 93 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 66 int[] callTypes, long date, long duration) { 68 callTypes, date, duration, "", 0, "", null, null); 74 int[] callTypes, long date, long duration, CharSequence name, 83 this.date = date;
|
/external/chromium_org/base/time/ |
time_mac.cc | 133 CFGregorianDate date; local 134 date.second = exploded.second + 136 date.minute = exploded.minute; 137 date.hour = exploded.hour; 138 date.day = exploded.day_of_month; 139 date.month = exploded.month; 140 date.year = exploded.year; 144 CFAbsoluteTime seconds = CFGregorianDateGetAbsoluteTime(date, time_zone) + 162 CFGregorianDate date = CFAbsoluteTimeGetGregorianDate(seconds, time_zone); local 166 exploded->year = date.year [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/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-1.9/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();
|