HomeSort by relevance Sort by last modified time
    Searched refs:SimpleDateFormat (Results 1 - 25 of 166) sorted by null

1 2 3 4 5 6 7

  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyUtils.java 19 import java.text.SimpleDateFormat;
27 private static final SimpleDateFormat DATE_FORMATTER = new SimpleDateFormat(
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
TimeUtil.java 18 import java.text.SimpleDateFormat;
67 SimpleDateFormat dateFormat = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy");
77 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy.MM.dd_HH.mm.ss");
  /packages/apps/Contacts/src/com/android/contacts/util/
DateUtils.java 23 import java.text.SimpleDateFormat;
36 public static final SimpleDateFormat NO_YEAR_DATE_FORMAT =
37 new SimpleDateFormat("--MM-dd", Locale.US);
43 public static final SimpleDateFormat FULL_DATE_FORMAT =
44 new SimpleDateFormat("yyyy-MM-dd", Locale.US);
45 public static final SimpleDateFormat DATE_AND_TIME_FORMAT =
46 new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", Locale.US);
47 public static final SimpleDateFormat NO_YEAR_DATE_AND_TIME_FORMAT =
48 new SimpleDateFormat("--MM-dd'T'HH:mm:ss.SSS'Z'", Locale.US);
52 private static final SimpleDateFormat[] DATE_FORMATS =
    [all...]
  /tools/motodev/src/plugins/certmanager/src/com/motorolamobility/studio/android/certmanager/ui/tree/
LastBackupDateColumnLabelProvider.java 18 import java.text.SimpleDateFormat;
39 SimpleDateFormat formatter =
40 new SimpleDateFormat("MMM dd yyyy HH:mm:ss", Locale.getDefault());
  /external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DateFormatTest.java 23 import java.text.SimpleDateFormat;
75 SimpleDateFormat f2 = (SimpleDateFormat) DateFormat.getDateInstance();
76 assertTrue("Wrong class", f2.getClass() == SimpleDateFormat.class);
92 SimpleDateFormat f2 = (SimpleDateFormat) DateFormat
94 assertTrue("Wrong class1", f2.getClass() == SimpleDateFormat.class);
102 f2 = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.MEDIUM);
103 assertTrue("Wrong class2", f2.getClass() == SimpleDateFormat.class);
111 f2 = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.LONG)
    [all...]
SimpleDateFormatTest.java 24 import java.text.SimpleDateFormat;
35 static SimpleDateFormat format = new SimpleDateFormat("", Locale.ENGLISH);
37 static SimpleDateFormat pFormat = new SimpleDateFormat("", Locale.ENGLISH);
107 * @tests java.text.SimpleDateFormat#SimpleDateFormat()
110 // Test for method java.text.SimpleDateFormat()
111 SimpleDateFormat f2 = new SimpleDateFormat();
    [all...]
  /libcore/luni/src/test/java/libcore/java/text/
SimpleDateFormatTest.java 21 import java.text.SimpleDateFormat;
36 SimpleDateFormat sdf = new SimpleDateFormat();
81 SimpleDateFormat format = new SimpleDateFormat("EEE MMM dd HH:mm:ss yyyy", Locale.US);
96 DateFormat dateFormat = new SimpleDateFormat(fmt, l);
102 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l);
128 SimpleDateFormat sdf = new SimpleDateFormat(fmt, Locale.US)
    [all...]
OldSimpleDateFormatTest.java 23 import java.text.SimpleDateFormat;
33 SimpleDateFormat format = null;
34 SimpleDateFormat pFormat = null;
39 format = new SimpleDateFormat("", Locale.ENGLISH);
40 pFormat = new SimpleDateFormat("", Locale.ENGLISH);
91 * java.text.SimpleDateFormat#SimpleDateFormat(java.lang.String,
95 // Test for method java.text.SimpleDateFormat(java.lang.String,
99 SimpleDateFormat f2 = new SimpleDateFormat("y'y'yy", symbols)
    [all...]
  /external/apache-http/src/org/apache/http/impl/cookie/
DateUtils.java 36 import java.text.SimpleDateFormat;
157 SimpleDateFormat dateParser = DateFormatHolder.formatFor(dateFormat);
185 * must conform to that used by the {@link SimpleDateFormat simple date
194 * @see SimpleDateFormat
200 SimpleDateFormat formatter = DateFormatHolder.formatFor(pattern);
209 * A factory for {@link SimpleDateFormat}s. The instances are stored in a
210 * threadlocal way because SimpleDateFormat is not threadsafe as noted in
211 * {@link SimpleDateFormat its javadoc}.
217 private static final ThreadLocal<SoftReference<Map<String, SimpleDateFormat>>>
218 THREADLOCAL_FORMATS = new ThreadLocal<SoftReference<Map<String, SimpleDateFormat>>>() {
    [all...]
  /external/okhttp/src/main/java/libcore/net/http/
HttpDate.java 21 import java.text.SimpleDateFormat;
38 DateFormat rfc1123 = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US);
78 return new SimpleDateFormat(formatString, Locale.US).parse(value);
  /frameworks/testing/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
EventsCommand.java 24 import java.text.SimpleDateFormat;
55 SimpleDateFormat formatter = new SimpleDateFormat("MM-dd HH:mm:ss.SSS");
  /libcore/luni/src/main/java/libcore/net/http/
HttpDate.java 21 import java.text.SimpleDateFormat;
38 DateFormat rfc1123 = new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US);
78 return new SimpleDateFormat(formatString, Locale.US).parse(value);
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ASN1UTCTime.java 27 import java.text.SimpleDateFormat;
97 SimpleDateFormat sdf = new SimpleDateFormat(UTC_PATTERN);
ASN1GeneralizedTime.java 27 import java.text.SimpleDateFormat;
86 SimpleDateFormat sdf = new SimpleDateFormat(GEN_PATTERN);
  /external/icu4c/i18n/unicode/
smpdtfmt.h 48 * SimpleDateFormat is a concrete class for formatting and parsing dates in a
55 * explicitly constructing an instance of SimpleDateFormat. This way, the client
58 * the default patterns in the locales, he can construct a SimpleDateFormat directly
150 * SimpleDateFormat* formatter
151 * = new SimpleDateFormat ("yyyy.MM.dd G 'at' hh:mm:ss a zzz", success );
172 * SimpleDateFormat must interpret the abbreviated year
174 * within 80 years before and 20 years after the time the SimpleDateFormat
176 * SimpleDateFormat instance created on Jan 1, 1997, the string
204 * For time zones that have no names, SimpleDateFormat uses strings GMT+hours:minutes or
216 class U_I18N_API SimpleDateFormat: public DateFormat
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/
DERUTCTime.java 5 import java.text.SimpleDateFormat;
96 SimpleDateFormat dateF = new SimpleDateFormat("yyMMddHHmmss'Z'");
119 SimpleDateFormat dateF = new SimpleDateFormat("yyMMddHHmmssz");
134 SimpleDateFormat dateF = new SimpleDateFormat("yyyyMMddHHmmssz");
148 * dateF = new SimpleDateFormat("yyMMddHHmmssz");
DERGeneralizedTime.java 5 import java.text.SimpleDateFormat;
96 SimpleDateFormat dateF = new SimpleDateFormat("yyyyMMddHHmmss'Z'");
125 * dateF = new SimpleDateFormat("yyyyMMddHHmmssz");
210 SimpleDateFormat dateF;
218 dateF = new SimpleDateFormat("yyyyMMddHHmmss.SSS'Z'");
222 dateF = new SimpleDateFormat("yyyyMMddHHmmss'Z'");
232 dateF = new SimpleDateFormat("yyyyMMddHHmmss.SSSz");
236 dateF = new SimpleDateFormat("yyyyMMddHHmmssz");
245 dateF = new SimpleDateFormat("yyyyMMddHHmmss.SSS")
    [all...]
  /external/apache-http/src/org/apache/http/protocol/
HttpDateGenerator.java 35 import java.text.SimpleDateFormat;
67 this.dateformat = new SimpleDateFormat(PATTERN_RFC1123, Locale.US);
  /packages/apps/DeskClock/src/com/android/deskclock/
Log.java 23 import java.text.SimpleDateFormat;
58 return new SimpleDateFormat("HH:mm:ss.SSS aaa").format(new Date(millis));
  /external/icu4c/test/intltest/
dtfmttst.h 19 * Performs many different tests for DateFormat and SimpleDateFormat
65 virtual void tryPat994(SimpleDateFormat* format, const char* pat, const char* str, UDate expected);
81 virtual void testIt917(SimpleDateFormat* fmt, UnicodeString& str, UDate expected);
100 virtual void tryPattern(SimpleDateFormat& sdf, UDate d, const char* pattern, UDate expected);
sdtfmtts.cpp 25 case 0: name = "SimpleDateFormat API test";
27 logln("SimpleDateFormat API test---"); logln("");
44 * Test various generic API methods of SimpleDateFormat for API coverage.
52 logln("Testing SimpleDateFormat constructors");
54 SimpleDateFormat def(status);
56 dataerrln("ERROR: Could not create SimpleDateFormat (default) - exitting");
65 SimpleDateFormat pat(pattern, status);
67 errln("ERROR: Could not create SimpleDateFormat (pattern) - %s", u_errorName(status));
71 SimpleDateFormat pat_fr(pattern, Locale::getFrench(), status);
73 errln("ERROR: Could not create SimpleDateFormat (pattern French)")
    [all...]
  /packages/apps/Camera/src/com/android/camera/
PanoUtil.java 19 import java.text.SimpleDateFormat;
25 SimpleDateFormat dateFormat = new SimpleDateFormat(format);
  /packages/apps/LegacyCamera/src/com/android/camera/panorama/
PanoUtil.java 19 import java.text.SimpleDateFormat;
25 SimpleDateFormat dateFormat = new SimpleDateFormat(format);
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/cms/
Time.java 4 import java.text.SimpleDateFormat;
49 SimpleDateFormat dateF = new SimpleDateFormat("yyyyMMddHHmmss");
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x509/
Time.java 4 import java.text.SimpleDateFormat;
49 SimpleDateFormat dateF = new SimpleDateFormat("yyyyMMddHHmmss");

Completed in 1264 milliseconds

1 2 3 4 5 6 7