/external/autotest/contrib/ |
db_cleanup.py | 19 # Format Appears as: [Date] [Time] - [Msg Level] - [Message] 26 WHERE %(table)s.%(time_column)s <= "%(date)s" 32 WHERE %(related_table)s.%(time_column)s <= "%(date)s" 42 WHERE %(related_table)s.%(time_column)s <= "%(date)s" 130 date, foreign_key=None, 149 @param related_table: Table with the date information we are selecting by. 153 @param date: End date of the information we are trying to delete. 154 @param time_column: Column that we want to use to compare the date to. 156 delete with the table with the date information [all...] |
/external/autotest/client/tests/hwclock/ |
hwclock.py | 10 Set hwclock back to a date in 1980 and verify if the changes took 14 utils.system('/sbin/hwclock --set --date "2/2/80 03:04:00"') 15 date = utils.system_output('LC_ALL=C /sbin/hwclock') 16 if not re.match('Sat *Feb *2 *03:04:.. 1980', date): 18 "Output of hwclock is '%s'" % date)
|
/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...] |
/libcore/ojluni/src/main/java/sun/util/calendar/ |
BaseCalendar.java | 144 public abstract static class Date extends CalendarDate { 145 protected Date() { 148 protected Date(TimeZone zone) { 152 public Date setNormalizedDate(int normalizedYear, int month, int dayOfMonth) { 162 // Cache for the fixed date of January 1 and year length of the 192 public boolean validate(CalendarDate date) { 193 Date bdate = (Date) date; 210 if (!validateTime(date)) { [all...] |
CalendarSystem.java | 42 * programming interface to deal with calendar date and time. 55 * because, for example, a Chinese calendar date can't be understood 179 public abstract CalendarDate getCalendarDate(long millis, CalendarDate date); 201 * @param date the <code>CalendarDate</code> from which the time 205 public abstract long getTime(CalendarDate date); 209 * <code>date</code>. This method does not perform the 214 public abstract int getYearLength(CalendarDate date); 222 public abstract int getYearLengthInMonths(CalendarDate date); 226 * date. This method does not perform the normalization with the 227 * specified calendar date. The <code>CalendarDate</code> mus [all...] |
/external/curl/lib/ |
parsedate.c | 23 A brief summary of the date string formats this parser groks: 44 1994 Nov 6 08:49:37 (GNU date fails) 46 94 6 Nov 08:49:37 (GNU date fails) 69 compact numerical date strings: 112 static int parsedate(const char *date, time_t *output); 145 {"IDLW", 720}, /* International Date Line West */ 165 {"IDLE", -720}, /* International Date Line East */ 260 static void skip(const char **date) 263 while(**date && !ISALNUM(**date)) [all...] |
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/dateintervalformat/ |
DateIntervalFormatSample.java | 12 import java.util.Date; 36 System.out.println(" Use DateIntervalFormat to get Date interval format for pre-defined skeletons:"); 40 final Date date[] = { local 47 new DateInterval(date[0].getTime(),date[1].getTime()), 48 new DateInterval(date[1].getTime(),date[2].getTime()), 49 new DateInterval(date[2].getTime(),date[3].getTime()) 83 final Date date[] = { local [all...] |
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/dateintervalformat/ |
DateIntervalFormatSample.java | 11 import java.util.Date; 35 System.out.println(" Use DateIntervalFormat to get Date interval format for pre-defined skeletons:"); 39 final Date date[] = { local 46 new DateInterval(date[0].getTime(),date[1].getTime()), 47 new DateInterval(date[1].getTime(),date[2].getTime()), 48 new DateInterval(date[2].getTime(),date[3].getTime()) 82 final Date date[] = { local [all...] |
/external/nist-sip/java/javax/sip/header/ |
DateHeader.java | 6 String NAME = "Date"; 9 void setDate(Calendar date);
|
/external/shflags/examples/ |
write_date.sh | 3 # This script takes a filename as input and writes the current date to the 33 date >"$1"
|
/frameworks/base/include/androidfw/ |
ZipUtils.h | 71 const uint32_t date = when >> 16; local 74 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980 75 timespec->tm_mon = ((date >> 5) & 0x0F) - 1; 76 timespec->tm_mday = date & 0x1F;
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
CopticCalendar.java | 11 import java.util.Date; 173 * Constructs a <code>CopticCalendar</code> with the given date set 179 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 181 public CopticCalendar(int year, int month, int date) { 182 super(year, month, date); 186 * Constructs a <code>CopticCalendar</code> with the given date set 189 * @param date The date to which the new calendar is set [all...] |
BuddhistCalendar.java | 11 import java.util.Date; 120 * Constructs a <code>BuddhistCalendar</code> with the given date set 123 * @param date The date to which the new calendar is set. 125 public BuddhistCalendar(Date date) { 127 setTime(date); 131 * Constructs a <code>BuddhistCalendar</code> with the given date set 139 * @param date The value used to set the calendar's {@link #DATE DATE} time field [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
CopticCalendar.java | 10 import java.util.Date; 192 * Constructs a <code>CopticCalendar</code> with the given date set 198 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 201 public CopticCalendar(int year, int month, int date) { 202 super(year, month, date); 206 * Constructs a <code>CopticCalendar</code> with the given date set 209 * @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/snakeyaml/src/test/java/examples/jodatime/ |
JodaTimeRepresenter.java | 18 import java.util.Date; 32 DateTime date = (DateTime) data; local 33 return super.representData(new Date(date.getMillis()));
|
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/ |
jquery.cookie.js | 26 * @option Number|Date expires Either an integer specifying the expiration date from now on in days or a Date object. 27 * If a negative value is specified (e.g. a date in the past), the cookie will be deleted. 64 var date; 66 date = new Date(); 67 date.setTime(date.getTime() + (options.expires * 24 * 60 * 60 * 1000)); 69 date = options.expires [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
JavaBeanTimeStampTest.java | 18 import java.sql.Date; 30 Date date = new Date(1001376000000L); local 31 javaBeanToDump.setDate(date); 43 assertEquals(date, javaBeanToLoad.getDate()); 50 Date date = new Date(1001376000000L); local 51 javaBeanToDump.setDate(date); [all...] |
/external/vboot_reference/scripts/ |
getversion.sh | 33 date=$(date '+%F %T') 35 echo "const char futility_version[] = \"${ver} ${date} ${USER}\";";
|
/external/testng/src/main/java/org/testng/ |
TimeBombSkipException.java | 9 import java.util.Date; 16 * You can customize this by using the specialized constructors. Suppported date 31 * The format used for date comparison is <tt>yyyy/MM/dd</tt> 35 public TimeBombSkipException(String msg, Date expirationDate) { 47 public TimeBombSkipException(String msg, Date expirationDate, String format) { 55 * Creates a {@code TimeBombedSkipException} using the <tt>date</tt> 58 * @param date time limit after which the SKIP becomes a FAILURE 60 public TimeBombSkipException(String msg, String date) { 62 initExpireDate(date); 66 * Creates a {@code TimeBombedSkipException} using the <tt>date</tt [all...] |
/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...] |
/libcore/ojluni/src/main/java/java/util/ |
Date.java | 42 * The class <code>Date</code> represents a specific instant 45 * Prior to JDK 1.1, the class <code>Date</code> had two additional 48 * of date strings. Unfortunately, the API for these functions was not 52 * parse date strings. 53 * The corresponding methods in <code>Date</code> are deprecated. 55 * Although the <code>Date</code> class is intended to reflect 79 * corrections applied. There are other time and date systems as 94 * In all methods of class <code>Date</code> that accept or return 95 * year, month, date, hours, minutes, and seconds values, the 102 * <li>A date (day of month) is represented by an integer from 1 to 3 1045 BaseCalendar.Date date = normalize(); local 1137 BaseCalendar.Date date = local [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);
|