Lines Matching refs:format
107 android.text.format.DateFormat.getDateFormatOrder(context));
117 Log.w(LOG_TAG, "Date: " + date + " not in format: " + DATE_FORMAT);
123 * Returns the best localized representation of the date for the given date format and the
126 * @param datePickerFormat The date format skeleton (e.g. "dMy") used to gather the
129 * @return The best localized representation of the date for the given date format
134 yearPattern = android.text.format.DateFormat.getBestDateTimePattern(mConstant.locale,
137 final java.text.DateFormat dateFormat = android.text.format.DateFormat.getDateFormat(
150 * the last date field). The separators can vary based on the individual locale date format,
155 * For example, for Croatian in dMy format, the best localized representation is "d. M. y". This
164 // Obtain the time format string per the current locale (e.g. h:mm a)
215 * Changes format of showing dates. For example "YMD".
221 android.text.format.DateFormat.getDateFormatOrder(getContext()));
241 throw new IllegalArgumentException("datePicker format error");
249 throw new IllegalArgumentException("datePicker format error");
257 throw new IllegalArgumentException("datePicker format error");
264 throw new IllegalArgumentException("datePicker format error");
272 * Get format of showing dates. For example "YMD". Default value is from
273 * {@link android.text.format.DateFormat#getDateFormatOrder(Context)}.