Searched refs:mDateFormat (Results 1 – 9 of 9) sorted by relevance
47 private final DateFormat mDateFormat; field in DateValueSanitizer55 mDateFormat = Preconditions.checkNotNull(dateFormat); in DateValueSanitizer()76 final String converted = mDateFormat.format(date); in sanitize()79 final Date sanitized = mDateFormat.parse(converted); in sanitize()83 Log.w(TAG, "Could not apply " + mDateFormat + " to " + value + ": " + e); in sanitize()95 return "DateValueSanitizer: [dateFormat=" + mDateFormat + "]"; in toString()108 parcel.writeSerializable(mDateFormat); in writeToParcel()
51 private final DateFormat mDateFormat; field in DateTransformation61 mDateFormat = Preconditions.checkNotNull(dateFormat); in DateTransformation()81 final String transformed = mDateFormat.format(date); in apply()86 Log.w(TAG, "Could not apply " + mDateFormat + " to " + value + ": " + e); in apply()97 return "DateTransformation: [id=" + mFieldId + ", format=" + mDateFormat + "]"; in toString()111 parcel.writeSerializable(mDateFormat); in writeToParcel()
41 private DateFormat mDateFormat; field in DateView56 getHandler().post(() -> mDateFormat = null);99 mDateFormat = null; // reload the locale next time in onDetachedFromWindow()104 if (mDateFormat == null) { in updateClock()108 mDateFormat = format; in updateClock()113 final String text = mDateFormat.format(mCurrentTime); in updateClock()125 mDateFormat = null; in setDatePattern()
40 DateFormat mDateFormat; field in BatteryWaster59 mDateFormat = DateFormat.getInstance(); in onCreate()161 mLog.setText(mLog.getText() + "\n" + mDateFormat.format(new Date()) + ": " + s); in log()
64 private SimpleDateFormat mDateFormat; field in Tracer.FileSink68 mDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.US); in FileSink()72 mOut.printf("%s %s\n", mDateFormat.format(new Date()), message); in log()
113 private DateFormat mDateFormat; field in KeyguardSliceProvider418 if (mDateFormat == null) { in getFormattedDateLocked()422 mDateFormat = format; in getFormattedDateLocked()425 return mDateFormat.format(mCurrentTime); in getFormattedDateLocked()430 mDateFormat = null; in cleanDateFormatLocked()
80 private final java.text.DateFormat mDateFormat = new SimpleDateFormat(DATE_FORMAT); field in DatePickerSpinnerDelegate492 outDate.setTime(mDateFormat.parse(date)); in parseDate()
257 private final SimpleDateFormat mDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); field in AccountManagerService5130 logStatement.bindString(3, mDateFormat.format(new Date()));
67116 Landroid/service/autofill/DateTransformation;->mDateFormat:Landroid/icu/text/DateFormat;67119 Landroid/service/autofill/DateValueSanitizer;->mDateFormat:Landroid/icu/text/DateFormat;