Home
last modified time | relevance | path

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

/frameworks/ex/common/java/com/android/common/
DLegacyHttpDateTime.java123 private static int getDate(String dateString) { in getDate() argument
124 if (dateString.length() == 2) { in getDate()
125 return (dateString.charAt(0) - '0') * 10 in getDate()
126 + (dateString.charAt(1) - '0'); in getDate()
128 return (dateString.charAt(0) - '0'); in getDate()
/frameworks/base/obex/javax/obex/
DObexHelper.java264 String dateString = new String(value, "ISO8859_1"); in updateHeaderSet() local
266 if ((dateString.length() == 16) in updateHeaderSet()
267 && (dateString.charAt(15) == 'Z')) { in updateHeaderSet()
270 temp.set(Calendar.YEAR, Integer.parseInt(dateString.substring( in updateHeaderSet()
272 temp.set(Calendar.MONTH, Integer.parseInt(dateString.substring( in updateHeaderSet()
274 temp.set(Calendar.DAY_OF_MONTH, Integer.parseInt(dateString in updateHeaderSet()
276 temp.set(Calendar.HOUR_OF_DAY, Integer.parseInt(dateString in updateHeaderSet()
278 temp.set(Calendar.MINUTE, Integer.parseInt(dateString in updateHeaderSet()
280 temp.set(Calendar.SECOND, Integer.parseInt(dateString in updateHeaderSet()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java373 String dateString = DateFormat.format(pattern, mNextAlarm.getTriggerTime()).toString(); in buildAlarmContentDescription() local
375 return mResources.getString(R.string.accessibility_quick_settings_alarm, dateString); in buildAlarmContentDescription()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java397 String dateString = formatter.format(new Date(System.currentTimeMillis())); in logCriticalInfo() local
398 pw.println(dateString + ": " + msg); in logCriticalInfo()