/external/snakeyaml/src/test/java/examples/jodatime/ |
JodaTimeExampleTest.java | 18 import java.util.Date; 40 String date = new Yaml().dump(new Date(timestamp)); local 41 assertEquals(date, joda); 55 Date someDate = new DateMidnight(9, 2, 21, DateTimeZone.forID("Europe/Amsterdam")).toDate(); 74 Date date = (Date) dateConstructor.construct(nnode); local 75 return new DateTime(date, DateTimeZone.UTC); 94 // Whenever we see an explicit timestamp tag, make a Joda Date 104 Date date = (Date) javaDateConstruct.construct(node); local [all...] |
/libcore/ojluni/src/main/java/sun/util/calendar/ |
LocalGregorianCalendar.java | 51 public static class Date extends BaseCalendar.Date { 53 protected Date() { 57 protected Date(TimeZone zone) { 63 public Date setEra(Era era) { 71 public Date addYear(int localYear) { 77 public Date setYear(int localYear) { 198 public Date getCalendarDate() { 202 public Date getCalendarDate(long millis) { 206 public Date getCalendarDate(long millis, TimeZone zone) [all...] |
Gregorian.java | 39 static class Date extends BaseCalendar.Date { 40 protected Date() { 44 protected Date(TimeZone zone) { 64 public Date getCalendarDate() { 68 public Date getCalendarDate(long millis) { 72 public Date getCalendarDate(long millis, CalendarDate date) { 73 return (Date) super.getCalendarDate(millis, date); [all...] |
/cts/libs/vogar-expect/src/vogar/ |
Outcome.java | 23 import java.util.Date; 36 private final Date date; field in class:Outcome 42 this.date = new Date(); 45 public Outcome(String outcomeName, Result result, String outputLine, Date date) { 49 this.date = date; 56 this.date = new Date() [all...] |
/device/google/dragon/ |
touchfwup.sh | 5 echo -n "Updater date/time: " > ${LOG_FILE} 6 date >> ${LOG_FILE}
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
BasicClientCookie2.java | 4 * $Date: 2008-05-22 11:26:53 -0700 (Thu, 22 May 2008) $ 34 import java.util.Date; 94 public boolean isExpired(final Date date) { 95 return this.discard || super.isExpired(date);
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/rds/ |
event.py | 30 self.date = None 45 elif name == 'Date': 46 self.date = value
|
/external/curl/lib/ |
firefox-db2pem.sh | 34 currentdate=`date`
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
EthiopicCalendar.java | 11 import java.util.Date; 112 // the date and time was July 18th -5493 BC 06:00 AM. 200 * Constructs a <code>EthiopicCalendar</code> with the given date set 206 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 208 public EthiopicCalendar(int year, int month, int date) { 209 super(year, month, date); 213 * Constructs a <code>EthiopicCalendar</code> with the given date set 216 * @param date The date to which the new calendar is set [all...] |
JapaneseCalendar.java | 9 import java.util.Date; 26 * mode either form of date is acceptable as input. 116 * Constructs a <code>JapaneseCalendar</code> with the given date set 119 * @param date The date to which the new calendar is set. 121 public JapaneseCalendar(Date date) { 123 setTime(date); 127 * Constructs a <code>JapaneseCalendar</code> with the given date set 145 * @param date The value used to set the calendar's DATE field [all...] |
HebrewHoliday.java | 28 public HebrewHoliday(int month, int date, String name) 30 this(month, date, 1, name); 36 public HebrewHoliday(int month, int date, int length, String name) 38 super(name, new SimpleDateRule(month, date, gCalendar));
|
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/ |
DateTimePatternGeneratorSample.java | 10 import java.util.Date; 34 System.out.println(" Use DateTimePatternGenerator to create customized date/time pattern:"); 51 Date date= new GregorianCalendar(1999,9,13,23,58,59).getTime(); local 62 // Get the format of the given date 63 System.out.printf("%-35s",sdf.format(date)); 82 // Use DateTime.getPatternInstance to produce the same Date/Time format with predefined constant field value 92 // Use DateFormat.getPatternInstance to get the date/time format for the locale, 93 // and apply the format to the given date 94 String df=DateFormat.getPatternInstance(skeleton,locale).format(date); 120 Date date= new GregorianCalendar(1999,9,13,23,58,59).getTime(); local 150 Date date= new GregorianCalendar(1999,9,13,23,58,59).getTime(); local [all...] |
/external/icu/icu4c/source/test/intltest/ |
caltztst.h | 33 // Tries to mimic the Java Date.toString() format. 38 // Utility methods to create a date. This is useful for converting Java constructs 39 // which create a Date object. Returns a Date in the current local time. 40 UDate date(int32_t y, int32_t m, int32_t d, int32_t hr=0, int32_t min=0, int32_t sec=0); 42 // Utility methods to create a date. Returns a Date in UTC. This will differ 43 // from local dates returned by date() by the current default zone offset. 44 // Date utcDate(int y, int m, int d, int hr=0, int min=0, int sec=0); 46 // Utility method to get the fields of a date; similar to Date.getYear() etc [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
EthiopicCalendar.java | 10 import java.util.Date; 124 // the date and time was July 18th -5493 BC 06:00 AM. 218 * Constructs a <code>EthiopicCalendar</code> with the given date set 224 * @param date The value used to set the calendar's {@link #DATE DATE} time field. 227 public EthiopicCalendar(int year, int month, int date) { 228 super(year, month, date); 232 * Constructs a <code>EthiopicCalendar</code> with the given date set 235 * @param date The date to which the new calendar is set [all...] |
JapaneseCalendar.java | 8 import java.util.Date; 25 * mode either form of date is acceptable as input. 122 * Constructs a <code>JapaneseCalendar</code> with the given date set 125 * @param date The date to which the new calendar is set. 128 public JapaneseCalendar(Date date) { 130 setTime(date); 134 * Constructs a <code>JapaneseCalendar</code> with the given date set 152 * @param date The value used to set the calendar's DATE field [all...] |
HebrewHoliday.java | 28 public HebrewHoliday(int month, int date, String name) 30 this(month, date, 1, name); 37 public HebrewHoliday(int month, int date, int length, String name) 39 super(name, new SimpleDateRule(month, date, gCalendar));
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/ |
DateTimePatternGeneratorSample.java | 9 import java.util.Date; 33 System.out.println(" Use DateTimePatternGenerator to create customized date/time pattern:"); 50 Date date= new GregorianCalendar(1999,9,13,23,58,59).getTime(); local 61 // Get the format of the given date 62 System.out.printf("%-35s",sdf.format(date)); 81 // Use DateTime.getPatternInstance to produce the same Date/Time format with predefined constant field value 91 // Use DateFormat.getPatternInstance to get the date/time format for the locale, 92 // and apply the format to the given date 93 String df=DateFormat.getPatternInstance(skeleton,locale).format(date); 119 Date date= new GregorianCalendar(1999,9,13,23,58,59).getTime(); local 149 Date date= new GregorianCalendar(1999,9,13,23,58,59).getTime(); local [all...] |
/external/libdaemon/doc/ |
style.css | 28 div.news-date { font-size: 80%; font-style: italic; }
|
/external/vogar/src/vogar/ |
Outcome.java | 23 import java.util.Date; 36 private final Date date; field in class:Outcome 42 this.date = new Date(); 45 public Outcome(String outcomeName, Result result, String outputLine, Date date) { 49 this.date = date; 56 this.date = new Date() [all...] |
/development/scripts/ |
aday | 14 return datetime.date(year, month + 1, 1) + datetime.timedelta(days=day - 1)
|
/external/autotest/contrib/ |
run-stable-update | 40 TAG=$(date '+%Y-%W') 49 date
|
/external/chromium-trace/catapult/experimental/bisect_lib/ |
fetch_revision_info.py | 37 'date': response_dict['committer']['time'],
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
TimeZoneICU.java | 9 import java.util.Date; 72 public int getOffset(long date) { 73 return fIcuTz.getOffset(date); 87 public boolean inDaylightTime(Date date) { 88 return fIcuTz.inDaylightTime(date);
|
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/timescale/ |
EpochOffsets.java | 11 import java.util.Date; 61 * to calculate the Universal Time Scale's epoch date. Then the epoch offsets are calculated 62 * by calculating each epoch date, subtracting the universal epoch date from it, and converting 75 // the Gregorian change date before 0001AD with a value 76 // that is safely before that date by any measure, i.e., 80 cal.setGregorianChange(new Date(before0001AD)); 82 MessageFormat fmt = new MessageFormat("{0, date, full} {0, time, full} = {1}"); 87 // January 1, 0001 00:00:00 is the universal epoch date... 93 int[] date = epochDates[i] local [all...] |
/external/libdrm/tests/ |
getversion.c | 42 assert(strlen(v->date) != 0);
|