/external/icu4c/test/intltest/ |
dtfmrgts.cpp | 72 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance(); 73 if (failure(status, "SimpleDateFormat::createDateInstance")) { 226 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("yyMMdd"), Locale::getUS(), status); 227 if (failure(status, "new SimpleDateFormat", TRUE)) { 282 SimpleDateFormat *fmt; 285 fmt = new SimpleDateFormat( UnicodeString("yyyy/MM/dd"), status ); 286 if (failure(status, "new SimpleDateFormat", TRUE)) return; 293 fmt = new SimpleDateFormat( UnicodeString("yyyyMMdd"), status ) [all...] |
dtfmttst.cpp | 105 * Instantiate a SimpleDateFormat set up to produce a full time 108 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"zzzz", status); 227 SimpleDateFormat* fullFmt = new SimpleDateFormat((UnicodeString)"EEE MMM dd HH:mm:ss.SSS zzz yyyy G", status); 228 SimpleDateFormat *fmt = new SimpleDateFormat((UnicodeString)"dd-MMM-yy h:mm:ss 'o''clock' a z", Locale::getEnglish(), status); 365 dateFormats[2] = new SimpleDateFormat(buf, Locale::getUS(), ec); 372 dateFormats[3] = new SimpleDateFormat(buf, Locale::getUS(), ec); 374 errln(UnicodeString("Could not create SimpleDateFormat object for locale en_US. Error: " )+ UnicodeString(u_errorName(ec))) [all...] |
incaltst.cpp | 418 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calendar=buddhist"), status); 420 SimpleDateFormat *fmt2 = new SimpleDateFormat(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calendar=gregorian"), status); 504 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("MMMM d, yy G"), Locale("en_US@calendar=japanese"), status); 505 SimpleDateFormat *fmt2 = new SimpleDateFormat(UnicodeString("MMMM d, yyyy G"), Locale("en_US@calendar=gregorian"), status); 535 fmt = new SimpleDateFormat(UnicodeString("G y"), Locale("en_US@calendar=japanese"), status); 622 SimpleDateFormat *fmt2 = new SimpleDateFormat(UnicodeString("HH:mm:ss.S MMMM d, yyyy G"), Locale("en_US@calendar=gr (…) [all...] |
dtfmtrtts.h | 88 SimpleDateFormat *dateFormat;
|
dtfmapts.cpp | 111 SimpleDateFormat *sdtfmt = dynamic_cast<SimpleDateFormat *>(b); 256 DateFormat *test = new SimpleDateFormat(status); 261 if(test->getDynamicClassID() != SimpleDateFormat::getStaticClassID()) { 304 // SimpleDateFormat calling Format & DateFormat API 306 logln("SimpleDateFormat"); 308 SimpleDateFormat sdf(status);
|
dtptngts.cpp | 347 SimpleDateFormat *format = new SimpleDateFormat(findPattern, deLocale, status); 349 dataerrln("ERROR: Could not create SimpleDateFormat (Locale::getGermany())"); 387 format = (SimpleDateFormat *)DateFormat::createDateTimeInstance(DateFormat::kFull, DateFormat::kFull, 482 SimpleDateFormat sdf(bPattern, loc, status); 507 SimpleDateFormat sdf(bPattern, loc, status); 568 SimpleDateFormat sdf(bestPattern, loc, status); 604 SimpleDateFormat *enFormat = (SimpleDateFormat *)DateFormat::createDateTimeInstance(DateFormat::kFull, [all...] |
caltest.h | 166 SimpleDateFormat *sdf, int32_t times, UErrorCode& status); 168 virtual void loop_addroll(Calendar *cal, /*SimpleDateFormat *sdf, */
|
/external/icu4c/i18n/ |
smpdtfmt.cpp | 65 // class SimpleDateFormat 161 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(SimpleDateFormat) 165 SimpleDateFormat::~SimpleDateFormat() 191 SimpleDateFormat::SimpleDateFormat(UErrorCode& status) 204 SimpleDateFormat::SimpleDateFormat(const UnicodeString& pattern, 222 SimpleDateFormat::SimpleDateFormat(const UnicodeString& pattern [all...] |
reldtfmt.cpp | 291 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(fDateFormat); 308 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(fTimeFormat); 323 SimpleDateFormat* sdtfmt = NULL; 324 SimpleDateFormat* stmfmt = NULL; 325 if (fDateFormat && (sdtfmt = dynamic_cast<SimpleDateFormat*>(fDateFormat)) == NULL) { 329 if (fTimeFormat && (stmfmt = dynamic_cast<SimpleDateFormat*>(fTimeFormat)) == NULL) { 438 // this should to be in DateFormat, instead it was copied from SimpleDateFormat.
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
ReportExporter.java | 29 import java.text.SimpleDateFormat; 93 SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy.MM.dd-HH.mm.ss", Locale.ENGLISH);
|
TestResultsReport.java | 31 import java.text.SimpleDateFormat; 63 new SimpleDateFormat("EEE MMM dd HH:mm:ss z yyyy", Locale.ENGLISH);
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
XmlReport.java | 22 import java.text.SimpleDateFormat; 40 SimpleDateFormat format = new SimpleDateFormat("EEE, MMM d, yyyy h:mm a z");
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
UTCTimeTest.java | 22 import java.text.SimpleDateFormat; 48 SimpleDateFormat sdf = new SimpleDateFormat("dd MMM yyyy HH:mm:ss", Locale.US);
|
DerGeneralizedTimeEDTest.java | 27 import java.text.SimpleDateFormat; 81 SimpleDateFormat sdf = 82 new SimpleDateFormat("dd.MM.yyyy HH:mm"); 154 myDate = new SimpleDateFormat("MM.dd.yyyy HH:mm").
|
GeneralizedTimeTest.java | 23 import java.text.SimpleDateFormat; 51 SimpleDateFormat sdf = new SimpleDateFormat("dd MMM yyyy HH:mm:ss", Locale.US);
|
/external/chromium/base/i18n/ |
time_formatting.cc | 64 icu::SimpleDateFormat formatter(generated_pattern, status); 103 scoped_ptr<icu::SimpleDateFormat> formatter( 104 static_cast<icu::SimpleDateFormat*>(
|
/sdk/monkeyrunner/src/com/android/monkeyrunner/ |
MonkeyFormatter.java | 22 import java.text.SimpleDateFormat; 36 private static final SimpleDateFormat FORMAT = new SimpleDateFormat("yyMMdd HH:mm:ss.SSS");
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
Clock.java | 40 import java.text.SimpleDateFormat; 54 private SimpleDateFormat mClockFormat; 143 SimpleDateFormat sdf; 177 mClockFormat = sdf = new SimpleDateFormat(format);
|
/libcore/luni/src/test/java/libcore/java/text/ |
DateFormatSymbolsTest.java | 24 import java.text.SimpleDateFormat; 76 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l);
|
/libcore/luni/src/test/java/libcore/java/util/ |
TimeZoneTest.java | 19 import java.text.SimpleDateFormat; 60 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ");
|
/external/android-mock/src/com/google/android/testing/mocking/ |
ProcessorLogger.java | 27 import java.text.SimpleDateFormat; 65 logFile.write((SimpleDateFormat.getDateTimeInstance().format(new Date()) + " - "
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
HoloClock.java | 43 import java.text.SimpleDateFormat; 53 private SimpleDateFormat mClockFormat; 162 SimpleDateFormat sdf; 167 mClockFormat = sdf = new SimpleDateFormat(format);
|
/external/icu4c/i18n/unicode/ |
dtitvfmt.h | 61 * similar to formatting in SimpleDateFormat. 63 * patterns, similar to date time pattern in SimpleDateFormat. 413 * since calendar is not const in SimpleDateFormat::format(Calendar&), 579 * It should be a SimpleDateFormat object which 628 static SimpleDateFormat* U_EXPORT2 createSDFPatternInstance( [all...] |
/external/icu4c/test/perf/normperf/ |
dtfmtrtperf.h | 152 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], *status); 154 //errcheckln(*status, (UnicodeString)"new SimpleDateFormat failed for pattern " + 173 // Before parse, set unknown zone to SimpleDateFormat instance
|
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/ |
SaveCopyTask.java | 36 import java.text.SimpleDateFormat; 74 saveFileName = new SimpleDateFormat(TIME_STAMP_NAME).format(
|