/external/apache-http/android/src/android/net/http/ |
LegacyHttpDateTime.java | 26 * Helper for parsing an HTTP date. 31 * Regular expression for parsing HTTP-date. 66 * The compiled version of the HTTP-date regular expressions. 88 int date = 1; local 95 date = getDate(rfcMatcher.group(1)); 103 date = getDate(ansicMatcher.group(2)); 115 date = 1; 119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date,
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
DateUtils.java | 4 * $Date: 2008-07-16 04:25:47 -0700 (Wed, 16 Jul 2008) $ 38 import java.util.Date; 60 * Date format pattern used to parse HTTP date headers in RFC 1123 format. 65 * Date format pattern used to parse HTTP date headers in RFC 1036 format. 70 * Date format pattern used to parse HTTP date headers in ANSI C 81 private static final Date DEFAULT_TWO_DIGIT_YEAR_START; 94 * Parses a date value. The formats used for parsing the date value are retrieved fro [all...] |
/external/icu/icu4c/source/i18n/unicode/ |
rbtz.h | 127 * account) as of a particular reference date. The reference date is used to determine 130 * at this particular date and time?). For the time zones produced by createTimeZone(), 131 * the reference data is specified according to the Gregorian calendar, and the date 138 * @param era The reference date's era 139 * @param year The reference date's year 140 * @param month The reference date's month (0-based; 0 is January) 141 * @param day The reference date's day-in-month (1-based) 142 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday) 143 * @param millis The reference date's milliseconds in day, local standard tim [all...] |
/external/iputils/ |
Makefile | 118 TODAY=$(shell date +%Y/%m/%d) 119 DATE=$(shell date --date $(TODAY) +%Y%m%d) 120 TAG:=$(shell date --date=$(TODAY) +s%Y%m%d) 244 @sed -e "s/^%define ssdate .*/%define ssdate $(DATE)/" iputils.spec > iputils.spec.tmp
|
/frameworks/base/core/java/com/android/internal/http/ |
HttpDateTime.java | 26 * Helper for parsing an HTTP date. 31 * Regular expression for parsing HTTP-date. 66 * The compiled version of the HTTP-date regular expressions. 88 int date = 1; local 95 date = getDate(rfcMatcher.group(1)); 103 date = getDate(ansicMatcher.group(2)); 115 date = 1; 119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date,
|
/frameworks/ex/common/java/com/android/common/ |
LegacyHttpDateTime.java | 26 * Helper for parsing an HTTP date. 31 * Regular expression for parsing HTTP-date. 66 * The compiled version of the HTTP-date regular expressions. 88 int date = 1; local 95 date = getDate(rfcMatcher.group(1)); 103 date = getDate(ansicMatcher.group(2)); 115 date = 1; 119 time.set(timeOfDay.second, timeOfDay.minute, timeOfDay.hour, date,
|
/external/v8/test/intl/date-format/ |
parse-mdy.js | 30 // Testing v8Parse method for date only. 32 function checkDate(date) { 33 assertEquals(1974, date.getUTCFullYear()); 34 assertEquals(1, date.getUTCMonth()); 35 assertEquals(4, date.getUTCDate());
|
/packages/apps/Camera2/src/com/android/camera/ |
Storage.java | 81 * @param date The date for the media file. 91 public static Uri addImage(ContentResolver resolver, String title, long date, 95 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height, 108 * @param date The date for the media file. 120 public static Uri addImage(ContentResolver resolver, String title, long date, 127 return addImageToMediaStore(resolver, title, date, location, orientation, fileLength, 138 * @param date The date for the media file [all...] |
/external/libxml2/ |
xmlschemastypes.c | 58 /* Date value */ 121 xmlSchemaValDate date; member in union:_xmlSchemaVal::__anon16956 332 * TODO: Always keep those structs up-to-date with the originals. 473 xmlSchemaTypeDateDef = xmlSchemaInitBasicType("date", [all...] |
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/ |
TimeZoneJDK.java | 12 import java.util.Date; 104 public int getOffset(long date) { 105 return fJdkTz.getOffset(date); 109 public void getOffset(long date, boolean local, int[] offsets) { 116 Grego.timeToFields(date, fields); 147 fJdkCal.setTimeInMillis(date); 170 public boolean inDaylightTime(Date date) { 171 return fJdkTz.inDaylightTime(date);
|
/libcore/ojluni/src/main/java/java/util/logging/ |
XMLFormatter.java | 57 // Append the time and date in ISO 8601 format 59 Date date = new Date(millis); local 60 sb.append(date.getYear() + 1900); 62 a2(sb, date.getMonth() + 1); 64 a2(sb, date.getDate()); 66 a2(sb, date.getHours()); 68 a2(sb, date.getMinutes()); 70 a2(sb, date.getSeconds()) [all...] |
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
DateUtils.java | 27 import java.util.Date; 39 * When parsing a date without a year, the system assumes 1970, which wasn't a leap-year. 44 // Variations of ISO 8601 date format. Do not change the order - it does affect the 65 * Parses the supplied string to see if it looks like a date. 67 * @param string The string representation of the provided date 68 * @param mustContainYear If true, the string is parsed as a date containing a year. If false, 69 * the string is parsed into a valid date even if the year field is missing. 70 * @return A Calendar object corresponding to the date if the string is successfully parsed. 75 Date date; local [all...] |
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 35 import java.util.Date; 48 // Date: 2008-12-18 05:30 162 Date date = new Date(YEAR_FROM_1900, MONTH, DAY, HOUR, MINUTE); local 163 String source = dateFormat.format(date); 164 Date parseDate = dateFormat.parse(source); 165 assertEquals(date.getYear(), parseDate.getYear()); 166 assertEquals(date.getMonth(), parseDate.getMonth()); 167 assertEquals(date.getDay(), date.getDay()) [all...] |
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
GregorianCalendar.java | 9 import java.util.Date; 24 * default to the date the Gregorian calendar was instituted (October 15, 1582 25 * in some countries, later in others). The cutover date may be changed by the 42 * AD onward, when modern Julian calendar rules were adopted. Before this date, 108 * // and the current date and time 110 * Date trialTime = new Date(); 119 * System.out.println("DATE: " + calendar.get(Calendar.DATE)); 144 * System.out.println("DATE: " + calendar.get(Calendar.DATE)) [all...] |
RangeDateRule.java | 12 import java.util.Date; 42 add(new Date(Long.MIN_VALUE), rule); 48 public void add(Date start, DateRule rule) { 59 public Date firstAfter(Date start) { 65 Date result = null; 84 public Date firstBetween(Date start, Date end) { 91 Date result = null [all...] |
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
CalendarPanel.java | 16 import java.util.Date; 53 public void setDate(Date date) { 54 fStartOfMonth = date; 76 Date date = (fCalendar[index] == null) ? new Date() local 80 fCalendar[index].setTime(date); 95 public Date firstOfMonth() { 99 private Date startOfMonth(Date dateInMonth 308 int date = fCalendar[i].get(Calendar.DATE); local [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
GregorianCalendar.java | 8 import java.util.Date; 23 * default to the date the Gregorian calendar was instituted (October 15, 1582 24 * in some countries, later in others). The cutover date may be changed by the 41 * AD onward, when modern Julian calendar rules were adopted. Before this date, 107 * // and the current date and time 109 * Date trialTime = new Date(); 118 * System.out.println("DATE: " + calendar.get(Calendar.DATE)); 143 * System.out.println("DATE: " + calendar.get(Calendar.DATE)) [all...] |
RangeDateRule.java | 11 import java.util.Date; 43 add(new Date(Long.MIN_VALUE), rule); 50 public void add(Date start, DateRule rule) { 62 public Date firstAfter(Date start) { 68 Date result = null; 88 public Date firstBetween(Date start, Date end) { 95 Date result = null [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
PhoneCallDetailsHelper.java | 114 // Set the call count, location, date and if voicemail, set the duration. 169 * Builds a string containing the call location and date. For voicemail logs only the call date 173 * @return The call location and date string. 189 // The date of this call 192 // Create a comma separated list from the call type or location, and call date. 233 * Get the call date/time of the call. For the call log this is relative to the current time. 244 return DateUtils.getRelativeTimeSpanString(details.date, getCurrentTimeMillis(), 249 * Get the granular version of the call date/time of the call. The result is always in the form 250 * 'DATE at TIME'. The date value changes based on when the call was created [all...] |
/developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
AlarmStorage.java | 63 * @param date the integer represents a date 68 public Alarm saveAlarm(int month, int date, int hour, int minute) { 73 alarm.date = date;
|
/developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
AlarmStorage.java | 63 * @param date the integer represents a date 68 public Alarm saveAlarm(int month, int date, int hour, int minute) { 73 alarm.date = date;
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
AlarmStorage.java | 63 * @param date the integer represents a date 68 public Alarm saveAlarm(int month, int date, int hour, int minute) { 73 alarm.date = date;
|
/external/sfntly/cpp/src/sfntly/data/ |
font_output_stream.cc | 111 void FontOutputStream::WriteDateTime(int64_t date) { 112 WriteULong((date >> 32) & 0xffffffff); 113 WriteULong(date & 0xffffffff);
|
/libcore/luni/src/test/java/libcore/java/sql/ |
TimestampTest.java | 150 java.util.Date date = new java.util.Date(0); local 152 assertTrue(date.equals(timestamp)); 153 assertFalse(timestamp.equals(date));
|
/packages/apps/UnifiedEmail/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;
|