/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/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/java/android/security/keymaster/ |
KeymasterDateArgument.java | 20 import java.util.Date; 26 public final Date date; field in class:KeymasterDateArgument 28 public KeymasterDateArgument(int tag, Date date) { 34 throw new IllegalArgumentException("Bad date tag " + tag); 36 this.date = date; 41 date = new Date(in.readLong()) [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/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/toybox/toys/posix/ |
touch.c | 13 usage: touch [-amch] [-d DATE] [-t TIME] [-r FILE] FILE... 21 -d set time to DATE (in YYYY-MM-DDThh:mm:SS[.frac][tz] format) 32 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) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
DateFormatter.java | 10 import java.util.Date; 20 * Format the date, provided as a java Date object. 22 * @param date the date 25 String format(Date date); 28 * Format the date, provided as milliseconds. 30 * @param date the date in millisecond [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/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...] |
/packages/services/Telephony/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/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/nist-sip/java/javax/sip/header/ |
DateHeader.java | 6 String NAME = "Date"; 9 void setDate(Calendar date);
|
/frameworks/base/include/androidfw/ |
ZipUtils.h | 68 const uint32_t date = when >> 16; local 69 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980 70 timespec->tm_mon = (date >> 5) & 0x0F; 71 timespec->tm_mday = date & 0x1F;
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/ |
version.py | 11 date = 'Sun Aug 4 07:56:54 2013' variable
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
CopticCalendar.java | 10 import java.util.Date; 194 * Constructs a <code>CopticCalendar</code> with the given date set 200 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 203 public CopticCalendar(int year, int month, int date) { 204 super(year, month, date); 208 * Constructs a <code>CopticCalendar</code> with the given date set 211 * @param date The date to which the new calendar is set [all...] |
BuddhistCalendar.java | 10 import java.util.Date; 127 * Constructs a <code>BuddhistCalendar</code> with the given date set 130 * @param date The date to which the new calendar is set. 133 public BuddhistCalendar(Date date) { 135 setTime(date); 139 * Constructs a <code>BuddhistCalendar</code> with the given date set 147 * @param date The value used to set the calendar's {@link #DATE DATE} time field [all...] |
/external/vboot_reference/scripts/ |
getversion.sh | 33 date=$(date '+%F %T') 35 echo "const char futility_version[] = \"${ver} ${date} ${USER}\";";
|
/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/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...] |
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/ |
TimeZoneNameProviderICU.java | 24 long date = System.currentTimeMillis(); local 30 String lstd = tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); 31 String ldst = tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date); 32 String sstd = tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date); 33 String sdst = tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date); 51 // tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date) : 52 // tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); 56 // tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date) : 57 // tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date);
|