Home
last modified time | relevance | path

Searched refs:dateString (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/http/
DHttpDateTime.java124 private static int getDate(String dateString) { in getDate() argument
125 if (dateString.length() == 2) { in getDate()
126 return (dateString.charAt(0) - '0') * 10 in getDate()
127 + (dateString.charAt(1) - '0'); in getDate()
129 return (dateString.charAt(0) - '0'); in getDate()
/frameworks/ex/common/java/com/android/common/
DLegacyHttpDateTime.java124 private static int getDate(String dateString) { in getDate() argument
125 if (dateString.length() == 2) { in getDate()
126 return (dateString.charAt(0) - '0') * 10 in getDate()
127 + (dateString.charAt(1) - '0'); in getDate()
129 return (dateString.charAt(0) - '0'); in getDate()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
DAccessibleDateAnimator.java47 String dateString = DateUtils.formatDateTime(getContext(), mDateMillis, flags); in dispatchPopulateAccessibilityEvent() local
48 event.getText().add(dateString); in dispatchPopulateAccessibilityEvent()
/frameworks/base/tools/preload2/src/com/android/preload/
DDumpDataIO.java101 String dateString = attributes.getValue("date"); in startElement() local
103 if (pkg == null || dateString == null) { in startElement()
108 Date date = DateFormat.getDateTimeInstance().parse(dateString); in startElement()
/frameworks/base/obex/javax/obex/
DObexHelper.java257 String dateString = new String(value, "ISO8859_1"); in updateHeaderSet() local
259 if ((dateString.length() == 16) in updateHeaderSet()
260 && (dateString.charAt(15) == 'Z')) { in updateHeaderSet()
263 temp.set(Calendar.YEAR, Integer.parseInt(dateString.substring( in updateHeaderSet()
265 temp.set(Calendar.MONTH, Integer.parseInt(dateString.substring( in updateHeaderSet()
267 temp.set(Calendar.DAY_OF_MONTH, Integer.parseInt(dateString in updateHeaderSet()
269 temp.set(Calendar.HOUR_OF_DAY, Integer.parseInt(dateString in updateHeaderSet()
271 temp.set(Calendar.MINUTE, Integer.parseInt(dateString in updateHeaderSet()
273 temp.set(Calendar.SECOND, Integer.parseInt(dateString in updateHeaderSet()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java9245 String dateString = formatter.format(new Date(System.currentTimeMillis())); in logCriticalInfo() local
9246 pw.println(dateString + ": " + msg); in logCriticalInfo()