/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
ChineseCalendar.java | 11 import java.util.Date; 153 * Construct a <code>ChineseCalendar</code> with the give date set in the default time zone 155 * @param date The date to which the new calendar is set. 158 public ChineseCalendar(Date date) { 160 setTime(date); 164 * Constructs a <code>ChineseCalendar</code> with the given date set 172 * @param date The value used to set the calendar's {@link #DATE DATE} time field [all...] |
TimeZone.java | 11 import java.util.Date; 288 * Gets the time zone offset, for current date, modified in case of 290 * @param era the era of the given date. 291 * @param year the year in the given date. 292 * @param month the month in the given date. 294 * @param day the day-in-month of the given date. 295 * @param dayOfWeek the day-of-week of the given date. 306 * date. If Daylight Saving Time is in effect at the specified 307 * date, the offset value is adjusted with the amount of daylight 310 * @param date the date represented in milliseconds since January 1, 1970 00:00:00 GM 543 long date = System.currentTimeMillis(); local 585 long date = System.currentTimeMillis(); local [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
GregorianCalendarTest.java | 20 import java.util.Date; 94 * Specialized tests for those fields affected by GregorianCalendar cut over date. 100 Date date = new Date(Date.parse("Jan 1 00:00:01 GMT 2000")); local 101 assertEquals(946684801000L, date.getTime()); 107 gc.setGregorianChange(date); 108 gc.setTime(date); 110 // Check the date to ensure that it is 18th Dec 1999. The reason this is not 1st Jan 200 [all...] |
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
RecurrenceProcessor.java | 111 // last "until" date or "rdate". 621 * value. Returns an array of longs where each element is a date in UTC 632 * @return an array of dates, each date is in UTC milliseconds 645 // do so) because the "until" date string is specified in UTC and that 714 * strings containing the start date/times of the occurrences; the output 721 * @param dtstart the dtstart date as defined in RFC2445. This 724 * @param rangeStartDateValue the first date-time you care about, inclusive 725 * @param rangeEndDateValue the last date-time you care about, not inclusive (so 836 // Ensure that the "until" date string is specified in UTC. 838 // 15 is length of date-time without trailing Z e.g. "20090204T075959 [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
TimeZone.java | 12 import java.util.Date; 243 * Gets the time zone offset, for current date, modified in case of 245 * @param era the era of the given date. 246 * @param year the year in the given date. 247 * @param month the month in the given date. 249 * @param day the day-in-month of the given date. 250 * @param dayOfWeek the day-of-week of the given date. 260 * date. If Daylight Saving Time is in effect at the specified 261 * date, the offset value is adjusted with the amount of daylight 264 * @param date the date represented in milliseconds since January 1, 1970 00:00:00 GM 484 long date = System.currentTimeMillis(); local 526 long date = System.currentTimeMillis(); local [all...] |
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/ |
HolidayCalendarDemo.java | 33 import java.util.Date; 368 calendarPanel.set( new Date() ); 424 set(locale, locale, new Date()); 435 public void set(Date date) { 436 set(fCalendarLocale, fDisplayLocale, date); 439 public void set(Locale loc, Locale display, Date date) 451 fStartOfMonth = date; 481 public Date firstOfMonth() 734 public int date; field in class:HolidayCalendarDemo.HolidayInfo [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
TimeZoneGenericNames.java | 187 * at the given date, or null if the display name is not available. 191 * @param date the date 193 * at the given date, or null. 195 public String getDisplayName(TimeZone tz, GenericNameType type, long date) { 207 name = formatGenericNonLocationName(tz, type, date); 311 * the zone never use daylight time around the given date, use the standard 320 * @param date the date 324 * around the date), or the partial location name [all...] |
JavaTimeZone.java | 14 import java.util.Date; 23 * JDKTimeZone and allows ICU users who use ICU4J and JDK date/time/calendar 117 public void getOffset(long date, boolean local, int[] offsets) { 121 Grego.timeToFields(date, fields); 152 javacal.setTimeInMillis(date); 167 * @see android.icu.util.TimeZone#inDaylightTime(java.util.Date) 169 public boolean inDaylightTime(Date date) { 170 return javatz.inDaylightTime(date);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
TimeZoneGenericNames.java | 185 * at the given date, or null if the display name is not available. 189 * @param date the date 191 * at the given date, or null. 193 public String getDisplayName(TimeZone tz, GenericNameType type, long date) { 205 name = formatGenericNonLocationName(tz, type, date); 309 * the zone never use daylight time around the given date, use the standard 318 * @param date the date 322 * around the date), or the partial location name [all...] |
JavaTimeZone.java | 13 import java.util.Date; 22 * JDKTimeZone and allows ICU users who use ICU4J and JDK date/time/calendar 115 public void getOffset(long date, boolean local, int[] offsets) { 119 Grego.timeToFields(date, fields); 150 javacal.setTimeInMillis(date); 165 * @see com.ibm.icu.util.TimeZone#inDaylightTime(java.util.Date) 167 public boolean inDaylightTime(Date date) { 168 return javatz.inDaylightTime(date);
|
/external/icu/icu4c/source/test/intltest/ |
dtfmtrtts.cpp | 97 UDate date[] = {-55018555891590.05, 0, 0}; local 100 fmt.format(date[0], result[0]); 101 date[1] = fmt.parse(result[0], status); 102 fmt.format(date[1], result[1]); 103 date[2] = fmt.parse(result[1], status); 105 /* This test case worked OK by accident before. date[1] != date[0], 107 * (date[0] is in year 1926, date[1] is in year 2026.) result[1] set 110 * America/Los_Angeles. When this is parsed, date[1] becomes a tim [all...] |
dtfmrgts.cpp | 102 logln((UnicodeString)"today date: " + today); 104 logln("Error reparsing date: " + e.getMessage()); 136 UDate dt = date(97, UCAL_MAY, 3, 8, 55); 237 UDate start = date(1809-1900, UCAL_DECEMBER, 25); 243 date(1809-1900, UCAL_DECEMBER, 25), 244 date(1909-1900, UCAL_DECEMBER, 24), 245 date(1809-1900, UCAL_DECEMBER, 26), 246 date(1861-1900, UCAL_DECEMBER, 25), 257 "091225", new Date(1809-1900, Calendar.DECEMBER, 25), 258 "091224", new Date(1909-1900, Calendar.DECEMBER, 24) 1279 int32_t date; member in class:Test1684Data 1455 UDate date = cal->getTime(status); local [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationItemViewCoordinates.java | 214 // Date. 390 final TextView date = (TextView) view.findViewById(R.id.date); local 391 dateX = getX(date); 392 dateXRight = dateX + date.getWidth(); 393 dateY = getY(date); 394 datePaddingStart = ViewUtils.getPaddingStart(date); 395 dateFontSize = date.getTextSize(); 396 dateYBaseline = dateY + getLatinTopAdjustment(date) + date.getBaseline() [all...] |
/external/icu/icu4c/source/i18n/ |
indiancal.cpp | 135 * Returns the Julian Day corresponding to gregorian date 139 * @param date The date in Gregorian day in month 141 static double gregorianToJD(int32_t year, int32_t month, int32_t date) { 151 date); 157 * Returns the Gregorian Date corresponding to a given Julian Day 195 static double IndianToJD(int32_t year, int32_t month, int32_t date) { 212 jd = start + (date - 1); 228 jd += date - 1; 293 int32_t gregorianYear; // Stores gregorian date corresponding to Julian day [all...] |
/external/icu/icu4j/main/tests/localespi/src/com/ibm/icu/dev/test/localespi/ |
TimeZoneNameTest.java | 97 long date = System.currentTimeMillis(); local 102 tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date) : 103 tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date); 107 tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date) : 108 tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date);
|
/external/libmicrohttpd/src/examples/ |
spdy_fileserver.c | 80 //taken from http://stackoverflow.com/questions/2726975/how-can-i-generate-an-rfc1123-date-string-from-c-code-win32 168 char *date=NULL; local 195 date = Rfc1123_DateTimeNow(); 196 if(NULL == date 197 || SPDY_YES != SPDY_name_value_add(resp_headers,SPDY_HTTP_HEADER_DATE,date)) 202 free(date);
|
/external/libvncserver/webclients/novnc/include/ |
webutil.js | 101 var date, expires; 103 date = new Date(); 104 date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); 105 expires = "; expires=" + date.toGMTString();
|
/external/v8/test/mjsunit/ |
to_number_order.js | 68 var date = { valueOf: function() { x += 3; return 4; } }; 75 new Date(year, month, date, hours, minutes, seconds, ms); 77 assertEquals("1234567", x, "Date"); 80 Date(year, month, date, hours, minutes, seconds, ms); 81 assertEquals("", x, "Date not constructor"); 84 Date.UTC(year, month, date, hours, minutes, seconds, ms); 86 assertEquals("1234567", x, "Date.UTC") [all...] |
/external/vogar/src/vogar/ |
OutcomeStore.java | 29 import java.util.Date; 55 private final Date date; field in class:OutcomeStore 58 ExpectationStore expectationStore, Date date) { 65 this.date = date; 163 String timestamp = dateFormat.format(date);
|
XmlReportPrinter.java | 25 import java.util.Date; 49 private final Date date; field in class:XmlReportPrinter 51 public XmlReportPrinter(File directory, ExpectationStore expectationStore, Date date) { 54 this.date = date; 69 return dateFormat.format(date);
|
/libcore/ojluni/src/main/java/java/util/ |
TimeZone.java | 174 * Gets the time zone offset, for current date, modified in case of 182 * @param era the era of the given date. 183 * @param year the year in the given date. 184 * @param month the month in the given date. 186 * @param day the day-in-month of the given date. 187 * @param dayOfWeek the day-of-week of the given date. 201 * date. If Daylight Saving Time is in effect at the specified 202 * date, the offset value is adjusted with the amount of daylight 209 * @param date the date represented in milliseconds since January 1, 1970 00:00:00 GM [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
Utility.java | 61 import java.util.Date; 229 public Date parse(String date) throws ParseException { 230 return super.get().parse(date); 235 * Generate a time in milliseconds from a date string that represents a date/time in GMT 236 * @param date string in format 20090211T180303Z (rfc2445, iCalendar). 239 public static long parseDateTimeToMillis(String date) throws ParseException { 240 return parseDateTimeToCalendar(date).getTimeInMillis(); 250 * Generate a GregorianCalendar from a date string that represents a date/time in GM [all...] |
/packages/apps/Messaging/tools/messagegen/ |
fillsms | 196 add_sql "insert into threads (_id,date,message_count,recipient_ids,snippet,snippet_cs,read,type,error,has_attachment) values ($thread_id, $timestamp, $sms_per_thread, $addr_id, 'snippet', 0, 1, 0, 0, 0);" 204 date=$(( ( 1000 * $timestamp ) - $half_timestamp_inc * ( 2 * ($sms_per_thread - $j) + ( $i % 2 ) ) )) 207 add_sql "insert into sms (_id,thread_id,address,person,date,status,type,body,read,seen) values ($message_id, $thread_id, '$phone', '$phone', $date, -1, $message_type, '$message', 1, 1);" 221 date=$(( $timestamp - $half_timestamp_inc * ( 2 * ($mms_per_thread - $j) + ( ($i+1) % 2 ) ) )) 230 add_sql "insert into pdu (_id,thread_id,date,date_sent,msg_box,read,m_id,sub,sub_cs,ct_t,m_cls,m_type,v,m_size,pri,rr,tr_id,d_rpt,locked,seen,text_only) values ($message_id, $thread_id, $date, 0, $message_type, 1, 'hmma3p5s1a3m526@w.tmomail.net', 'no subject', 106, 'application/vnd.wap.multipart.related', 'personal', $m_type, 18, $size, 129, 129 , '$message_id', 129, 0, 1, 0);" 232 add_sql "insert into pdu (_id,thread_id,date,msg_box,read,m_id,sub,sub_cs,ct_t,m_cls,m_type,v,m_size,pri,rr,tr_id,d_rpt,locked,seen) values ($message_id, $thread_id, $date, $message_type, 1, 'hmma3p5s1a3m526@w.tmomail.net', 'no subject', 106, 'application/vnd.wap.multipart.related', 'personal', $m_type, 18, $size, 129, 129 , '$message_id', 129, 0, 1);"
|
/system/extras/tests/workloads/ |
systemapps.sh | 139 startTimestamp=$(date +"%s %N") 146 date 160 loopTimestamp=$(date +"%s %N") 201 loopEndTimestamp=$(date +"%s %N") 242 endTimestamp=$(date +"%s %N")
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
BasicClientCookie.java | 4 * $Date: 2008-05-22 11:26:53 -0700 (Thu, 22 May 2008) $ 34 import java.util.Date; 144 * Returns the expiration {@link Date} of the cookie, or <tt>null</tt> 149 * @return Expiration {@link Date}, or <tt>null</tt>. 151 * @see #setExpiryDate(java.util.Date) 154 public Date getExpiryDate() { 159 * Sets expiration date. 164 * @param expiryDate the {@link Date} after which this cookie is no longer valid. 169 public void setExpiryDate (Date expiryDate) { 296 * @param date Current tim [all...] |