HomeSort by relevance Sort by last modified time
    Searched refs:SimpleDateFormat (Results 51 - 75 of 134) sorted by null

1 23 4 5 6

  /development/samples/MySampleRss/src/com/example/codelab/rssexample/
RssService.java 39 import java.text.SimpleDateFormat;
213 SimpleDateFormat pubDate = new SimpleDateFormat();
  /development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/
AddVoicemailActivity.java 45 import java.text.SimpleDateFormat;
55 private static final SimpleDateFormat DATE_FORMATTER = new SimpleDateFormat("dd/MM/yyyy h:mm");
  /external/icu4c/i18n/
udat.cpp 30 * Verify that fmt is a SimpleDateFormat. Invalid error if not.
36 dynamic_cast<const SimpleDateFormat*>(reinterpret_cast<const DateFormat*>(fmt))==NULL) {
42 // SimpleDateFormat::fgPatternIndexToDateFormatField and
43 // SimpleDateFormat::fgPatternIndexToCalendarField arrays.
114 fmt = new SimpleDateFormat(pat, *status);
117 fmt = new SimpleDateFormat(pat, Locale(locale), *status);
311 return ((SimpleDateFormat*)fmt)->get2DigitYearStart(*status);
321 ((SimpleDateFormat*)fmt)->set2DigitYearStart(d, *status);
341 const SimpleDateFormat *sdtfmt=dynamic_cast<const SimpleDateFormat *>(df)
    [all...]
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/core/java/android/widget/
DateTimeView.java 37 import java.text.SimpleDateFormat;
200 return new SimpleDateFormat(format);
210 return new SimpleDateFormat(format);
  /frameworks/base/media/java/android/media/
ExifInterface.java 21 import java.text.SimpleDateFormat;
98 private static SimpleDateFormat sFormatter;
102 sFormatter = new SimpleDateFormat("yyyy:MM:dd HH:mm:ss");
  /libcore/luni/src/main/java/java/sql/
Timestamp.java 21 import java.text.SimpleDateFormat;
416 SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
421 * a Date object using the SimpleDateFormat. This should stop after the
422 * seconds value, according to the definition of SimpleDateFormat.parse,
  /libcore/luni/src/main/java/java/text/
DateFormat.java 32 * formatting subclass, such as {@link SimpleDateFormat}, allows for formatting
106 * from the factory methods to a {@code SimpleDateFormat}. This will work for
123 * @see SimpleDateFormat
462 return new SimpleDateFormat(LocaleData.get(locale).getDateFormat(style), locale);
516 return new SimpleDateFormat(pattern, locale);
582 return new SimpleDateFormat(LocaleData.get(locale).getTimeFormat(style), locale);
732 * {@link SimpleDateFormat#formatToCharacterIterator(Object)} method returns.
SimpleDateFormat.java 159 * SimpleDateFormat sdf = new SimpleDateFormat(format, Locale.US);
180 * <p>As this example shows, each {@code SimpleDateFormat} instance has a {@link TimeZone}.
183 * By default, {@code SimpleDateFormat} will use the system's default time zone. This is
193 * {@code SimpleDateFormat} is not thread-safe. Users should create a separate instance for
201 public class SimpleDateFormat extends DateFormat {
228 * Constructs a new {@code SimpleDateFormat} for formatting and parsing
232 public SimpleDateFormat() {
239 * Constructs a new {@code SimpleDateFormat} using the specified
252 public SimpleDateFormat(String pattern)
    [all...]
MessageFormat.java 188 * <td>{@code new SimpleDateFormat(subformatPattern, getLocale())}</td>
213 * <td>{@code new SimpleDateFormat(subformatPattern, getLocale())}</td>
    [all...]
  /libcore/luni/src/main/java/libcore/util/
ZoneInfo.java 19 import java.text.SimpleDateFormat;
255 SimpleDateFormat sdf = new SimpleDateFormat("EEE MMM dd HH:mm:ss yyyy zzz");
  /sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
Log.java 21 import java.text.SimpleDateFormat;
352 SimpleDateFormat formatter = new SimpleDateFormat("hh:mm:ss");
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
Support_SimpleDateFormat.java 22 import java.text.SimpleDateFormat;
56 SimpleDateFormat format = (SimpleDateFormat) DateFormat
143 SimpleDateFormat format = (SimpleDateFormat) DateFormat
  /frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
Summarizer.java 35 import java.text.SimpleDateFormat;
329 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
405 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss");
  /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);
  /frameworks/base/core/java/android/net/http/
SslCertificate.java 36 import java.text.SimpleDateFormat;
48 * SimpleDateFormat pattern for an ISO 8601 date
309 return new SimpleDateFormat(ISO_8601_DATE_FORMAT).parse(string);
322 return new SimpleDateFormat(ISO_8601_DATE_FORMAT).format(date);
  /frameworks/base/core/java/android/text/format/
DateFormat.java 32 import java.text.SimpleDateFormat;
220 if (natural instanceof SimpleDateFormat) {
221 SimpleDateFormat sdf = (SimpleDateFormat) natural;
259 return new java.text.SimpleDateFormat(context.getString(res));
289 return new java.text.SimpleDateFormat(format);
  /libcore/luni/src/main/native/
libcore_icu_TimeZones.cpp 98 // because it creates a new SimpleDateFormat each time.
99 // We're better off using SimpleDateFormat directly.
107 SimpleDateFormat longFormat(longPattern, locale, status);
111 SimpleDateFormat shortFormat(commonShortPattern, locale, status);
113 SimpleDateFormat allShortFormat(allShortPattern, locale, status);
  /packages/experimental/UiAutomation/library/src/com/android/testing/uiautomation/
AutomationProvider.java 14 import java.text.SimpleDateFormat;
377 SimpleDateFormat sdf = new SimpleDateFormat("MM-dd hh:mm:ss.SSS");
  /external/icu4c/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...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
CarrierLabel.java 29 import java.text.SimpleDateFormat;
  /external/icu4c/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.

Completed in 4483 milliseconds

1 23 4 5 6