/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/ |
DateTime.java | 26 import java.util.Date; 33 private final Date date; field in class:DateTime 44 this.date = convertToDate(year, month, day, hour, minute, second, timeZone); 69 public static Date convertToDate(int year, int month, int day, int hour, int minute, int second, int timeZone) { 82 public Date getDate() { 83 return date;
|
/external/icu/icu4c/source/test/intltest/ |
loctest.cpp | 1349 LocaleTest::date(int32_t y, int32_t m, int32_t d, int32_t hr, int32_t min, int32_t sec) function in class:LocaleTest 2345 UDate date = uprv_getUTCtime(); local [all...] |
tzbdtest.cpp | 92 logln("Date Before: " + showDate(min)); 93 logln("Date After: " + showDate(max)); 159 return showDate(new Date(l)); 324 UDate d = date(97, UCAL_APRIL, 6); 341 findDaylightBoundaryUsingDate(date(97, 0, 1), "PST", PST_1997_BEG); 343 findDaylightBoundaryUsingDate(date(97, 6, 1), "PDT", PST_1997_END); 351 findDaylightBoundaryUsingTimeZone(date(97, 0, 1), TRUE, 859653000000.0, z); 353 findDaylightBoundaryUsingTimeZone(date(97, 6, 1), FALSE, 877797000000.0, z); 361 findDaylightBoundaryUsingTimeZone(date(97, 0, 1), FALSE, PST_1997_BEG); 363 findDaylightBoundaryUsingTimeZone(date(97, 6, 1), TRUE, PST_1997_END) [all...] |
/external/jetty/src/java/org/eclipse/jetty/http/ |
HttpFields.java | 28 import java.util.Date; 97 * Format HTTP date "EEE, dd MMM yyyy HH:mm:ss 'GMT'" 99 public String formatDate(long date) 102 gc.setTimeInMillis(date); 140 public void formatCookieDate(StringBuilder buf, long date) 142 gc.setTimeInMillis(date); 150 int epoch = (int) ((date / 1000) % (60 * 60 * 24)); 189 * Format HTTP date "EEE, dd MMM yyyy HH:mm:ss 'GMT'" 191 public static String formatDate(long date) 193 return __dateGenerator.get().formatDate(date); 249 Date date = (Date) _dateReceive[i].parseObject(dateVal); local 266 Date date = (Date) _dateReceive[i].parseObject(val); local [all...] |
/cts/tests/tests/net/src/android/net/http/cts/ |
SslCertificateTest.java | 32 import java.util.Date; 44 String date = DateFormat.getInstance().format(new Date()); local 45 new SslCertificate("c=129", "e=weji", date, date); 60 public void checkValidity(Date date) throws CertificateExpiredException, 85 public Date getNotAfter() { 86 return new Date(System.currentTimeMillis()); 90 public Date getNotBefore() [all...] |
/device/google/accessory/demokit/ |
make-download.sh | 25 dateStamp=`date +"%Y%m%d"`
|
/external/autotest/tko/ |
utils_unittest.py | 12 date = utils.get_timestamp({"key": "0"}, "key") 14 utc_date = date + timezone 26 date = utils.get_timestamp({}, "missing_key") 27 self.assertEquals(date, None)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/manage/ |
volume.py | 194 snapshot.date = boto.utils.parse_ts(snapshot.start_time) 197 snaps.sort(cmp=lambda x, y: cmp(x.date, y.date)) 321 if snap.date >= start_date and snap.date <= end_date: 324 if snap.date >= start_date: 327 if snap.date <= end_date: 351 now = datetime.datetime.now(snaps[0].date.tzinfo) 363 if current_day and current_day == snap.date.day: 366 current_day = snap.date.da [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/guestbook/server/ |
guestbook.py | 38 date = db.DateTimeProperty(auto_now_add=True) variable in class:Greeting 47 "ORDER BY date DESC LIMIT 10") 113 note = Greeting(content=request.text, date=when) 119 query = Greeting.all().order('-date') 124 query.filter('date <=', when) 128 if note_model.date: 129 when = int(time.mktime(note_model.date.utctimetuple()))
|
/external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/ |
jquery.timeago.js | 18 if (timestamp instanceof Date) return inWords(timestamp); 91 return new Date(s); 130 function inWords(date) { 131 return $t.inWords(distance(date)); 134 function distance(date) { 135 return (new Date().getTime() - date.getTime());
|
/external/curl/docs/libcurl/ |
mksymbolsmanpage.pl | 27 my $date = strftime "%b %e, %Y", localtime; 52 .TH libcurl-symbols 3 "$date" "libcurl $version" "libcurl symbols"
|
/external/emma/lib/internal/ |
stamptool.jar | |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
EasterHoliday.java | 11 import java.util.Date; 141 orthodox.setGregorianChange(new Date(Long.MAX_VALUE)); 147 * Return the first occurrance of this rule on or after the given date 149 public Date firstAfter(Date start) 156 * the given start date and before the given end date. 158 public Date firstBetween(Date start, Date end [all...] |
/external/icu/icu4c/source/i18n/ |
cecal.h | 78 * (Overrides Calendar) Return true if the current date for this Calendar is in 82 * @return True if the current date for this Calendar is in Daylight Savings Time, 98 * return the date offset from Julian 113 static int32_t ceToJD(int32_t year, int32_t month, int32_t date, 123 * @param date receives the day
|
datefmt.cpp | 11 * Date Name Description 202 // if the type of the Formattable is double or long, treat it as if it were a Date 203 UDate date = 0; 207 date = obj.getDate(); 210 date = (UDate)obj.getDouble(); 213 date = (UDate)obj.getLong(); 224 return format(date, appendTo, fieldPosition); 237 // if the type of the Formattable is double or long, treat it as if it were a Date 238 UDate date = 0; 242 date = obj.getDate() [all...] |
olsontz.h | 182 virtual void getOffset(UDate date, UBool local, int32_t& rawOffset, 188 virtual void getOffsetFromLocal(UDate date, int32_t nonExistingTimeOpt, int32_t duplicatedTimeOpt, 217 virtual UBool inDaylightTime(UDate date, UErrorCode& ec) const; 294 void getHistoricalOffset(UDate date, UBool local, 364 * A SimpleTimeZone that governs the behavior for date >= finalMillis. 369 * For date >= finalMillis, the finalZone will be used.
|
tzgnames.h | 51 UDate date, UnicodeString& name) const;
|
/external/icu/icu4c/source/i18n/unicode/ |
gregocal.h | 10 * Date Name Description 18 * 10/15/99 aliu Fixed j32, cannot set date to Feb 29 2000 AD. 46 * the date the Gregorian calendar was originally instituted (October 15, 1582). Not all 47 * countries adopted the Gregorian calendar then, so this cutover date may be changed by 94 * // and the current date and time 103 * cout << "DATE: " << calendar->get( UCAL_DATE, success ) << endl; 125 * cout << "DATE: " << calendar->get( UCAL_DATE, success ) << endl; 231 * Constructs a GregorianCalendar with the given AD date set in the default time 237 * @param date The value used to set the DATE time field in the calendar [all...] |
/external/icu/icu4c/source/samples/date/ |
Makefile.in | 1 ## Makefile.in for ICU - samples/date 15 subdir = samples/date 26 OBJECTS = uprint.o date.o
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
TimeZone.java | 11 import java.util.Date; 216 // * Gets the time zone offset, for current date, modified in case of 218 // * @param era the era of the given date. 219 // * @param year the year in the given date. 220 // * @param month the month in the given date. 222 // * @param day the day-in-month of the given date. 223 // * @param dayOfWeek the day-of-week of the given date. 267 * date. If Daylight Saving Time is in effect at the specified 268 * date, the offset value is adjusted with the amount of daylight 271 * @param date the date represented in milliseconds since January 1, 1970 00:00:00 GM [all...] |
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
TimeZoneTest.java | 10 import java.util.Date; 156 * Test method for 'com.ibm.icu.util.TimeZone.inDaylightTime(Date)' 162 Date date = cal.getTime(); local 163 assertFalse(tz.inDaylightTime(date)); 165 date = cal.getTime(); 166 assertTrue(tz.inDaylightTime(date));
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
EasterHoliday.java | 10 import java.util.Date; 155 orthodox.setGregorianChange(new Date(Long.MAX_VALUE)); 161 * Return the first occurrance of this rule on or after the given date 163 public Date firstAfter(Date start) 170 * the given start date and before the given end date. 172 public Date firstBetween(Date start, Date end [all...] |
/external/iproute2/ |
Makefile | 71 echo "static const char SNAPSHOT[] = \""`date +%y%m%d`"\";" \
|
/external/jcommander/src/test/java/com/beust/jcommander/args/ |
Args1.java | 23 import java.util.Date; 54 @Parameter(names = "-date", description = "An ISO 8601 formatted date.") 55 public Date date; field in class:Args1
|
/external/libdrm/tests/tegra/ |
openclose.c | 57 printf(" Date: %s\n", version->date);
|