/libcore/luni/src/main/java/java/text/ |
MessageFormat.java | 188 * <td>{@code new SimpleDateFormat(subformatPattern, getLocale())}</td> 213 * <td>{@code new SimpleDateFormat(subformatPattern, getLocale())}</td> [all...] |
DateFormat.java | 33 * The most common subclass is {@link SimpleDateFormat}. 394 return new SimpleDateFormat(LocaleData.get(locale).getDateFormat(style), locale); 451 return new SimpleDateFormat(pattern, locale); 527 return new SimpleDateFormat(LocaleData.get(locale).getTimeFormat(style), locale); 677 * {@link SimpleDateFormat#formatToCharacterIterator(Object)} method returns.
|
/libcore/luni/src/test/java/libcore/java/text/ |
OldDateFormatTest.java | 23 import java.text.SimpleDateFormat; 93 SimpleDateFormat sdf = new SimpleDateFormat("M/d/yy h:mm a", Locale.US); 113 SimpleDateFormat sdf = new SimpleDateFormat("M/d/yy h:mm a", Locale.US); 351 String formatPattern = ((SimpleDateFormat) format).toPattern();
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
Utils.java | 60 import java.text.SimpleDateFormat; 504 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l); 508 sdf = new SimpleDateFormat(fmt, l); 627 final SimpleDateFormat format = new SimpleDateFormat("EEEEE");
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 27 import java.text.SimpleDateFormat; 197 SimpleDateFormat sdf = new SimpleDateFormat(pattern);
|
/external/apache-http/src/org/apache/commons/logging/impl/ |
SimpleLog.java | 27 import java.text.SimpleDateFormat; 59 * used in <code>java.text.SimpleDateFormat</code>. If the format is not 172 dateFormatter = new SimpleDateFormat(dateTimeFormat); 176 dateFormatter = new SimpleDateFormat(dateTimeFormat);
|
/external/chromium_org/third_party/icu/source/i18n/ |
datefmt.cpp | 371 // Try to create a SimpleDateFormat of the desired style. 372 SimpleDateFormat *f = new SimpleDateFormat(timeStyle, dateStyle, locale, status); 379 f = new SimpleDateFormat(locale, status);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
SmartCamera.java | 44 import java.text.SimpleDateFormat; 117 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd_HH:mm:ss");
|
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/ |
DayPickerView.java | 38 import java.text.SimpleDateFormat; 65 private static SimpleDateFormat YEAR_FORMAT = new SimpleDateFormat("yyyy", Locale.getDefault());
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
Rfc822Output.java | 43 import java.text.SimpleDateFormat; 59 private static final SimpleDateFormat DATE_FORMAT = 60 new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss Z", Locale.US);
|
/packages/apps/Settings/src/com/android/settings/ |
ZonePicker.java | 37 import java.text.SimpleDateFormat; 232 private final SimpleDateFormat mZoneNameFormatter = new SimpleDateFormat("zzzz");
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
dtfmtrtts.cpp | 93 SimpleDateFormat fmt(pattern, locale, status); 95 dataerrln("Fail: construct SimpleDateFormat: %s", u_errorName(status)); 281 if(fmt->getDynamicClassID() != SimpleDateFormat::getStaticClassID()) { 282 errln("DateFormat wasn't a SimpleDateFormat"); 295 pat = ((SimpleDateFormat*)fmt)->toPattern(pat); 482 dateFormat = new SimpleDateFormat((UnicodeString)"EEE MMM dd HH:mm:ss.SSS zzz yyyy G", ec); 484 fgStr = "[FAIL: SimpleDateFormat constructor]";
|
dadrfmt.cpp | 99 SimpleDateFormat basicFmt(UnicodeString("EEE MMM dd yyyy / YYYY'-W'ww-ee"), 102 dataerrln("FAIL: Couldn't create basic SimpleDateFormat: %s", 157 format = new SimpleDateFormat(pattern, loc, status); 159 errln("case %d: could not create SimpleDateFormat from pattern: %s", n, u_errorName(status)); 169 errln("case %d: could not create SimpleDateFormat from styles.", n);
|
tsdate.cpp | 141 // Assume it's a SimpleDateFormat and get some info 142 SimpleDateFormat *s = (SimpleDateFormat*)fFormat;
|
tzregts.cpp | 148 SimpleDateFormat sdf((UnicodeString)"E d MMM yyyy G HH:mm", status); 154 failure(status, "new SimpleDateFormat"); 398 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"MM/dd/yyyy HH:mm", status); 839 SimpleDateFormat *fmt = new SimpleDateFormat("z", Locale::getUS(), status); [all...] |
/external/chromium_org/v8/src/ |
i18n.cc | 77 icu::SimpleDateFormat* CreateICUDateFormat( 98 icu::SimpleDateFormat* date_format = NULL; 109 date_format = new icu::SimpleDateFormat(pattern, icu_locale, status); 127 icu::SimpleDateFormat* date_format, 783 icu::SimpleDateFormat* DateFormat::InitializeDateTimeFormat( 803 icu::SimpleDateFormat* date_format = CreateICUDateFormat( 821 icu::SimpleDateFormat* DateFormat::UnpackDateFormat( 827 return reinterpret_cast<icu::SimpleDateFormat*>( 851 DeleteNativeObjectAt<icu::SimpleDateFormat>(data, 0); [all...] |
/external/icu/icu4c/source/test/intltest/ |
caltest.h | 166 SimpleDateFormat *sdf, int32_t times, UErrorCode& status); 168 virtual void loop_addroll(Calendar *cal, /*SimpleDateFormat *sdf, */
|
dtfmtrtts.cpp | 91 SimpleDateFormat fmt(pattern, locale, status); 93 dataerrln("Fail: construct SimpleDateFormat: %s", u_errorName(status)); 279 if(fmt->getDynamicClassID() != SimpleDateFormat::getStaticClassID()) { 280 errln("DateFormat wasn't a SimpleDateFormat"); 293 pat = ((SimpleDateFormat*)fmt)->toPattern(pat); 487 dateFormat = new SimpleDateFormat((UnicodeString)"EEE MMM dd HH:mm:ss.SSS zzz yyyy G", ec); 489 fgStr = "[FAIL: SimpleDateFormat constructor]";
|
dtptngts.cpp | 419 SimpleDateFormat *format = new SimpleDateFormat(findPattern, deLocale, status); 421 dataerrln("ERROR: Could not create SimpleDateFormat (Locale::getGermany())"); 459 format = (SimpleDateFormat *)DateFormat::createDateTimeInstance(DateFormat::kFull, DateFormat::kFull, 554 SimpleDateFormat sdf(bPattern, loc, status); [all...] |
tsdate.cpp | 141 // Assume it's a SimpleDateFormat and get some info 142 SimpleDateFormat *s = (SimpleDateFormat*)fFormat;
|
tzregts.cpp | 148 SimpleDateFormat sdf((UnicodeString)"E d MMM yyyy G HH:mm", status); 154 failure(status, "new SimpleDateFormat"); 398 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"MM/dd/yyyy HH:mm", status); 843 SimpleDateFormat *fmt = new SimpleDateFormat("z", Locale::getUS(), status); [all...] |
/development/samples/training/network-usage/src/com/example/android/networkusage/ |
NetworkActivity.java | 44 import java.text.SimpleDateFormat; 223 DateFormat formatter = new SimpleDateFormat("MMM dd h:mmaa");
|
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
dtfmtsym.h | 38 class SimpleDateFormat; 46 * DateFormat and SimpleDateFormat. 49 * by using a SimpleDateFormat constructor, clients are encouraged to create a 59 * pattern and locale, they can do so with new SimpleDateFormat(aPattern, 469 friend class SimpleDateFormat; 730 * Returns a ZoneStringFormat, used only by SimpleDateFormat for now.
|
/external/icu/icu4c/source/i18n/unicode/ |
dtfmtsym.h | 39 class SimpleDateFormat; 45 * DateFormat and SimpleDateFormat. 48 * by using a SimpleDateFormat constructor, clients are encouraged to create a 58 * pattern and locale, they can do so with new SimpleDateFormat(aPattern, 461 * <p><b>Note:</b> SimpleDateFormat no longer use the zone strings stored in 463 * have no effects in an instance of SimpleDateFormat for formatting time 549 friend class SimpleDateFormat;
|
/frameworks/base/core/java/android/widget/ |
DateTimeView.java | 34 import java.text.SimpleDateFormat; 199 return new SimpleDateFormat(format);
|