/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
D | SimpleDateFormatTest.java | 19 import com.ibm.icu.text.SimpleDateFormat; 47 SimpleDateFormat sdf = new SimpleDateFormat(hmzmdy); in testFormatCalendarStringBufferFieldPosition() 59 SimpleDateFormat sdf = new SimpleDateFormat(hmzmdy); in testParseStringCalendarParsePosition() 76 SimpleDateFormat sdf = new SimpleDateFormat(); in testSimpleDateFormat() 77 java.text.SimpleDateFormat jsdf = new java.text.SimpleDateFormat(); in testSimpleDateFormat() 85 SimpleDateFormat sdf = new SimpleDateFormat(mdy); in testSimpleDateFormatString() 86 java.text.SimpleDateFormat jsdf = new java.text.SimpleDateFormat(mdy); in testSimpleDateFormatString() 95 SimpleDateFormat sdf = new SimpleDateFormat(mdy, l); in testSimpleDateFormatStringLocale() 96 java.text.SimpleDateFormat jsdf = new java.text.SimpleDateFormat(mdy, l); in testSimpleDateFormatStringLocale() 105 SimpleDateFormat sdf = new SimpleDateFormat(mdy, l); in testSimpleDateFormatStringULocale() [all …]
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
D | DateUtils.java | 36 import java.text.SimpleDateFormat; 162 SimpleDateFormat dateParser = DateFormatHolder.formatFor(dateFormat); in parseDate() 205 SimpleDateFormat formatter = DateFormatHolder.formatFor(pattern); in formatDate() 222 private static final ThreadLocal<SoftReference<Map<String, SimpleDateFormat>>> 223 THREADLOCAL_FORMATS = new ThreadLocal<SoftReference<Map<String, SimpleDateFormat>>>() { 226 protected SoftReference<Map<String, SimpleDateFormat>> initialValue() { 227 return new SoftReference<Map<String, SimpleDateFormat>>( 228 new HashMap<String, SimpleDateFormat>()); 245 public static SimpleDateFormat formatFor(String pattern) { in formatFor() 246 SoftReference<Map<String, SimpleDateFormat>> ref = THREADLOCAL_FORMATS.get(); in formatFor() [all …]
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 206 public class SimpleDateFormat extends DateFormat { class 217 public SimpleDateFormat() { in SimpleDateFormat() method in SimpleDateFormat 218 super(new java.text.SimpleDateFormat()); in SimpleDateFormat() 227 public SimpleDateFormat(String pattern) in SimpleDateFormat() method in SimpleDateFormat 229 super(new java.text.SimpleDateFormat(pattern)); in SimpleDateFormat() 238 public SimpleDateFormat(String pattern, Locale loc) in SimpleDateFormat() method in SimpleDateFormat 240 super(new java.text.SimpleDateFormat(pattern, loc)); in SimpleDateFormat() 249 public SimpleDateFormat(String pattern, ULocale loc) in SimpleDateFormat() method in SimpleDateFormat 278 public SimpleDateFormat(String pattern, DateFormatSymbols formatData) in SimpleDateFormat() method in SimpleDateFormat 280 super(new java.text.SimpleDateFormat(pattern, formatData.dfs)); in SimpleDateFormat() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatRegressionTestJ.java | 26 import com.ibm.icu.text.SimpleDateFormat; 34 private SimpleDateFormat sdf_; 38 sdf_ = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); in init() 69 SimpleDateFormat aSimpleDF = (SimpleDateFormat)DateFormat.getDateTimeInstance(); in Test4148168() 158 SimpleDateFormat aSimpleDF = (SimpleDateFormat) DateFormat.getDateTimeInstance(); in Test4253490() 172 SimpleDateFormat fmt = new SimpleDateFormat(dateFormat); in Test4266432() 183 SimpleDateFormat sdf = new SimpleDateFormat(); in Test4358730() 208 SimpleDateFormat sdf = new SimpleDateFormat(pattern, Locale.JAPAN); in Test4375399() 237 SimpleDateFormat sdf = new SimpleDateFormat(pattern); in Test4468663() 261 SimpleDateFormat sdf = (SimpleDateFormat) sdf_.clone(); in run() [all …]
|
D | DateFormatMiscTests.java | 25 import com.ibm.icu.text.SimpleDateFormat; 48 SimpleDateFormat formatter; in Test4097450() 49 SimpleDateFormat resultFormatter = new SimpleDateFormat("yyyy"); in Test4097450() 54 formatter = new SimpleDateFormat(dformat[i]); in Test4097450() 77 SimpleDateFormat df = new SimpleDateFormat("E hh:mm", symbols); in Test4099975new() 78 SimpleDateFormat dfClone = (SimpleDateFormat) df.clone(); in Test4099975new() 98 SimpleDateFormat df = new SimpleDateFormat("E hh:mm"); in Test4099975new() 100 SimpleDateFormat dfClone = (SimpleDateFormat) df.clone(); in Test4099975new()
|
D | DateFormatRegressionTest.java | 33 import com.ibm.icu.text.SimpleDateFormat; 54 SimpleDateFormat sdf = (SimpleDateFormat) DateFormat.getDateInstance(); in Test4029195() 172 SimpleDateFormat fmt = new SimpleDateFormat("yyMMdd", Locale.US); in Test4056591() 216 SimpleDateFormat fmt; in Test4059917() 218 fmt = new SimpleDateFormat("yyyy/MM/dd"); in Test4059917() 221 fmt = new SimpleDateFormat("yyyyMMdd"); in Test4059917() 226 public void aux917(SimpleDateFormat fmt, String str) { in aux917() 252 SimpleDateFormat formatter = new SimpleDateFormat("yyyy-DDD.hh:mm:ss"); in Test4060212() 264 formatter = new SimpleDateFormat("yyyy-ddd.hh:mm:ss"); in Test4060212() 279 SimpleDateFormat df = new SimpleDateFormat("dd/MM/yyyy"); in Test4061287() [all …]
|
D | IntlTestSimpleDateFormatAPI.java | 32 import com.ibm.icu.text.SimpleDateFormat; 52 SimpleDateFormat def = new SimpleDateFormat(); in TestAPI() 55 SimpleDateFormat pat = new SimpleDateFormat(pattern); in TestAPI() 57 SimpleDateFormat pat_fr = new SimpleDateFormat(pattern, Locale.FRENCH); in TestAPI() 61 SimpleDateFormat cust1 = new SimpleDateFormat(pattern, symbols); in TestAPI() 189 class StubDateFormat extends SimpleDateFormat{ in TestCoverage()
|
D | DateFormatTest.java | 51 import com.ibm.icu.text.SimpleDateFormat; 168 String actualLocalPattern1 = ((SimpleDateFormat)date1).toLocalizedPattern(); in TestPatterns() 169 String actualLocalPattern2 = ((SimpleDateFormat)date2).toLocalizedPattern(); in TestPatterns() 204 SimpleDateFormat sdf = new SimpleDateFormat("zzzz"); in TestWallyWedel() 297 SimpleDateFormat fullFmt = new SimpleDateFormat("EEE MMM dd HH:mm:ss.SSS zzz yyyy G"); in TestTwoDigitYearDSTParse() 298 … SimpleDateFormat fmt = new SimpleDateFormat("dd-MMM-yy h:mm:ss 'o''clock' a z", Locale.ENGLISH); in TestTwoDigitYearDSTParse() 364 dateFormats[2] = new SimpleDateFormat(buf.toString(), Locale.US); in TestFieldPosition() 371 dateFormats[3] = new SimpleDateFormat(buf.toString(), Locale.US); in TestFieldPosition() 463 logln(" Pattern = " + ((SimpleDateFormat) df).toPattern()); in TestFieldPosition() 662 final SimpleDateFormat[] formats = { in TestGenericTime() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatRegressionTestJ.java | 27 import android.icu.text.SimpleDateFormat; 35 private SimpleDateFormat sdf_; 39 sdf_ = new SimpleDateFormat("yyyy/MM/dd HH:mm:ss"); in init() 70 SimpleDateFormat aSimpleDF = (SimpleDateFormat)DateFormat.getDateTimeInstance(); in Test4148168() 159 SimpleDateFormat aSimpleDF = (SimpleDateFormat) DateFormat.getDateTimeInstance(); in Test4253490() 173 SimpleDateFormat fmt = new SimpleDateFormat(dateFormat); in Test4266432() 184 SimpleDateFormat sdf = new SimpleDateFormat(); in Test4358730() 209 SimpleDateFormat sdf = new SimpleDateFormat(pattern, Locale.JAPAN); in Test4375399() 238 SimpleDateFormat sdf = new SimpleDateFormat(pattern); in Test4468663() 262 SimpleDateFormat sdf = (SimpleDateFormat) sdf_.clone(); in run() [all …]
|
D | DateFormatMiscTests.java | 26 import android.icu.text.SimpleDateFormat; 49 SimpleDateFormat formatter; in Test4097450() 50 SimpleDateFormat resultFormatter = new SimpleDateFormat("yyyy"); in Test4097450() 55 formatter = new SimpleDateFormat(dformat[i]); in Test4097450() 78 SimpleDateFormat df = new SimpleDateFormat("E hh:mm", symbols); in Test4099975new() 79 SimpleDateFormat dfClone = (SimpleDateFormat) df.clone(); in Test4099975new() 99 SimpleDateFormat df = new SimpleDateFormat("E hh:mm"); in Test4099975new() 101 SimpleDateFormat dfClone = (SimpleDateFormat) df.clone(); in Test4099975new()
|
D | DateFormatRegressionTest.java | 34 import android.icu.text.SimpleDateFormat; 55 SimpleDateFormat sdf = (SimpleDateFormat) DateFormat.getDateInstance(); in Test4029195() 173 SimpleDateFormat fmt = new SimpleDateFormat("yyMMdd", Locale.US); in Test4056591() 217 SimpleDateFormat fmt; in Test4059917() 219 fmt = new SimpleDateFormat("yyyy/MM/dd"); in Test4059917() 222 fmt = new SimpleDateFormat("yyyyMMdd"); in Test4059917() 227 public void aux917(SimpleDateFormat fmt, String str) { in aux917() 253 SimpleDateFormat formatter = new SimpleDateFormat("yyyy-DDD.hh:mm:ss"); in Test4060212() 265 formatter = new SimpleDateFormat("yyyy-ddd.hh:mm:ss"); in Test4060212() 280 SimpleDateFormat df = new SimpleDateFormat("dd/MM/yyyy"); in Test4061287() [all …]
|
D | IntlTestSimpleDateFormatAPI.java | 33 import android.icu.text.SimpleDateFormat; 53 SimpleDateFormat def = new SimpleDateFormat(); in TestAPI() 56 SimpleDateFormat pat = new SimpleDateFormat(pattern); in TestAPI() 58 SimpleDateFormat pat_fr = new SimpleDateFormat(pattern, Locale.FRENCH); in TestAPI() 62 SimpleDateFormat cust1 = new SimpleDateFormat(pattern, symbols); in TestAPI() 190 class StubDateFormat extends SimpleDateFormat{ in TestCoverage()
|
D | DateFormatTest.java | 52 import android.icu.text.SimpleDateFormat; 169 String actualLocalPattern1 = ((SimpleDateFormat)date1).toLocalizedPattern(); in TestPatterns() 170 String actualLocalPattern2 = ((SimpleDateFormat)date2).toLocalizedPattern(); in TestPatterns() 205 SimpleDateFormat sdf = new SimpleDateFormat("zzzz"); in TestWallyWedel() 298 SimpleDateFormat fullFmt = new SimpleDateFormat("EEE MMM dd HH:mm:ss.SSS zzz yyyy G"); in TestTwoDigitYearDSTParse() 299 … SimpleDateFormat fmt = new SimpleDateFormat("dd-MMM-yy h:mm:ss 'o''clock' a z", Locale.ENGLISH); in TestTwoDigitYearDSTParse() 365 dateFormats[2] = new SimpleDateFormat(buf.toString(), Locale.US); in TestFieldPosition() 372 dateFormats[3] = new SimpleDateFormat(buf.toString(), Locale.US); in TestFieldPosition() 464 logln(" Pattern = " + ((SimpleDateFormat) df).toPattern()); in TestFieldPosition() 663 final SimpleDateFormat[] formats = { in TestGenericTime() [all …]
|
/external/testng/src/main/java/org/testng/ |
D | TimeBombSkipException.java | 7 import java.text.SimpleDateFormat; 24 private static final SimpleDateFormat SDF= new SimpleDateFormat("yyyy/MM/dd"); 49 m_inFormat= new SimpleDateFormat(format); in TimeBombSkipException() 50 m_outFormat= new SimpleDateFormat(format); in TimeBombSkipException() 88 m_inFormat= new SimpleDateFormat(inFormat); in TimeBombSkipException() 89 m_outFormat= new SimpleDateFormat(outFormat); in TimeBombSkipException() 121 m_inFormat= new SimpleDateFormat(format); in TimeBombSkipException() 122 m_outFormat= new SimpleDateFormat(format); in TimeBombSkipException() 172 m_inFormat= new SimpleDateFormat(inFormat); in TimeBombSkipException() 173 m_outFormat= new SimpleDateFormat(outFormat); in TimeBombSkipException()
|
/external/icu/icu4c/source/test/intltest/ |
D | dtfmrgts.cpp | 80 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance(); in Test4029195() 235 … SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("yyMMdd"), Locale::getUS(), status); in Test4056591() 291 SimpleDateFormat *fmt; in Test4059917() 294 fmt = new SimpleDateFormat( UnicodeString("yyyy/MM/dd"), status ); in Test4059917() 302 fmt = new SimpleDateFormat( UnicodeString("yyyyMMdd"), status ); in Test4059917() 310 void DateFormatRegressionTest::aux917( SimpleDateFormat *fmt, UnicodeString& str ) { in aux917() 350 SimpleDateFormat *formatter = new SimpleDateFormat(UnicodeString("yyyy-DDD.hh:mm:ss"), status); in Test4060212() 379 formatter = new SimpleDateFormat(UnicodeString("yyyy-ddd.hh:mm:ss"), status); in Test4060212() 403 SimpleDateFormat *df = new SimpleDateFormat(UnicodeString("dd/MM/yyyy"), status); in Test4061287() 581 SimpleDateFormat fmt("MM/dd/yy", Locale::getUK(), ec); in Test4073003() [all …]
|
D | sdtfmtts.cpp | 56 SimpleDateFormat def(status); in testAPI() 67 SimpleDateFormat pat(pattern, status); in testAPI() 73 SimpleDateFormat pat_fr(pattern, Locale::getFrench(), status); in testAPI() 85 SimpleDateFormat cust1(pattern, symbols, status); in testAPI() 92 SimpleDateFormat cust2(pattern, *symbols, status); in testAPI() 99 SimpleDateFormat ovr1(pattern, override, status); in testAPI() 105 SimpleDateFormat ovr2(pattern, override, Locale::getGerman(), status); in testAPI() 112 SimpleDateFormat ovr3(pattern, override_bogus, Locale::getGerman(), status); in testAPI() 118 SimpleDateFormat copy(pat); in testAPI() 252 DateFormat *test = new SimpleDateFormat(status); in testAPI() [all …]
|
D | miscdtfm.cpp | 116 SimpleDateFormat *formatter; in test4097450() 117 SimpleDateFormat *resultFormatter = new SimpleDateFormat((UnicodeString)"yyyy", status); in test4097450() 128 formatter = new SimpleDateFormat(dformat[i], status); in test4097450() 168 SimpleDateFormat *df = new SimpleDateFormat(UnicodeString("E hh:mm"), *symbols, status); in test4099975() 200 SimpleDateFormat *df = new SimpleDateFormat(UnicodeString("E hh:mm"), status); in test4099975() 231 SimpleDateFormat *df = new SimpleDateFormat(UnicodeString("E hh:mm"), symbols, status); in test4099975() 260 SimpleDateFormat *df = new SimpleDateFormat(UnicodeString("E hh:mm"), status); in test4099975()
|
D | dtfmttst.cpp | 212 SimpleDateFormat date1(pattern, locale, errorCode); in TestPatterns() 213 SimpleDateFormat date2(pattern, locale, errorCode); in TestPatterns() 253 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"zzzz", status); in TestWallyWedel() 379 …SimpleDateFormat* fullFmt = new SimpleDateFormat((UnicodeString)"EEE MMM dd HH:mm:ss.SSS zzz yyyy … in TestTwoDigitYearDSTParse() 380 …SimpleDateFormat *fmt = new SimpleDateFormat((UnicodeString)"dd-MMM-yy h:mm:ss 'o''clock' a z", Lo… in TestTwoDigitYearDSTParse() 533 dateFormats[2] = new SimpleDateFormat(buf, Locale::getUS(), ec); in TestFieldPosition() 540 dateFormats[3] = new SimpleDateFormat(buf, Locale::getUS(), ec); in TestFieldPosition() 598 SimpleDateFormat* sdtfmt = dynamic_cast<SimpleDateFormat*>(df); in TestFieldPosition() 679 SimpleDateFormat* f = new SimpleDateFormat(status); in TestPartialParse994() 698 DateFormatTest::tryPat994(SimpleDateFormat* format, const char* pat, const char* str, UDate expecte… in tryPat994() [all …]
|
/external/icu/icu4c/source/i18n/unicode/ |
D | smpdtfmt.h | 719 class U_I18N_API SimpleDateFormat: public DateFormat { 730 SimpleDateFormat(UErrorCode& status); 743 SimpleDateFormat(const UnicodeString& pattern, 767 SimpleDateFormat(const UnicodeString& pattern, 783 SimpleDateFormat(const UnicodeString& pattern, 808 SimpleDateFormat(const UnicodeString& pattern, 822 SimpleDateFormat(const UnicodeString& pattern, 835 SimpleDateFormat(const UnicodeString& pattern, 843 SimpleDateFormat(const SimpleDateFormat&); 849 SimpleDateFormat& operator=(const SimpleDateFormat&); [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
D | ASN1GeneralizedTime.java | 5 import java.text.SimpleDateFormat; 115 SimpleDateFormat dateF = new SimpleDateFormat("yyyyMMddHHmmss'Z'", Locale.US); in ASN1GeneralizedTime() 136 SimpleDateFormat dateF = new SimpleDateFormat("yyyyMMddHHmmss'Z'", Locale.US); in ASN1GeneralizedTime() 255 SimpleDateFormat dateF; in getDate() 265 dateF = new SimpleDateFormat("yyyyMMddHHmmss.SSS'Z'", Locale.US); in getDate() 272 dateF = new SimpleDateFormat("yyyyMMddHHmmss'Z'", Locale.US); in getDate() 285 dateF = new SimpleDateFormat("yyyyMMddHHmmss.SSSz", Locale.US); in getDate() 292 dateF = new SimpleDateFormat("yyyyMMddHHmmssz", Locale.US); in getDate() 304 dateF = new SimpleDateFormat("yyyyMMddHHmmss.SSS", Locale.US); in getDate() 311 dateF = new SimpleDateFormat("yyyyMMddHHmmss", Locale.US); in getDate()
|
D | ASN1UTCTime.java | 5 import java.text.SimpleDateFormat; 129 SimpleDateFormat dateF = new SimpleDateFormat("yyMMddHHmmss'Z'", Locale.US); in ASN1UTCTime() 150 SimpleDateFormat dateF = new SimpleDateFormat("yyMMddHHmmss'Z'", Locale.US); in ASN1UTCTime() 177 SimpleDateFormat dateF = new SimpleDateFormat("yyMMddHHmmssz", Locale.US); in getDate() 195 SimpleDateFormat dateF = new SimpleDateFormat("yyyyMMddHHmmssz", Locale.US); in getAdjustedDate()
|
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
D | DateFormatPerformanceTest.java | 25 private com.ibm.icu.text.SimpleDateFormat[] icuDateFormat; 27 private java.text.SimpleDateFormat[] jdkDateFormat; 44 icuDateFormat = new com.ibm.icu.text.SimpleDateFormat[threads]; in setup() 45 jdkDateFormat = new java.text.SimpleDateFormat[threads]; in setup() 47 icuDateFormat[i] = new com.ibm.icu.text.SimpleDateFormat(pattern, locale); in setup() 48 jdkDateFormat[i] = new java.text.SimpleDateFormat(pattern, locale); in setup() 65 new com.ibm.icu.text.SimpleDateFormat(pattern, locale); in TestICUConstruction() 73 new java.text.SimpleDateFormat(pattern, locale);
|
/external/icu/icu4c/source/i18n/ |
D | smpdtfmt.cpp | 230 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(SimpleDateFormat) in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() argument 232 SimpleDateFormat::NSOverride::~NSOverride() { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 239 void SimpleDateFormat::NSOverride::free() { in free() 303 const NumberFormat *SimpleDateFormat::getNumberFormatByIndex( in getNumberFormatByIndex() 365 SimpleDateFormat::~SimpleDateFormat() in ~SimpleDateFormat() 382 SimpleDateFormat::SimpleDateFormat(UErrorCode& status) in SimpleDateFormat() function in SimpleDateFormat 396 SimpleDateFormat::SimpleDateFormat(const UnicodeString& pattern, in SimpleDateFormat() function in SimpleDateFormat 416 SimpleDateFormat::SimpleDateFormat(const UnicodeString& pattern, in SimpleDateFormat() function in SimpleDateFormat 440 SimpleDateFormat::SimpleDateFormat(const UnicodeString& pattern, in SimpleDateFormat() function in SimpleDateFormat 462 SimpleDateFormat::SimpleDateFormat(const UnicodeString& pattern, in SimpleDateFormat() function in SimpleDateFormat [all …]
|
/external/icu/icu4j/samples/src/com/ibm/icu/samples/text/datetimepatterngenerator/ |
D | DateTimePatternGeneratorSample.java | 15 import com.ibm.icu.text.SimpleDateFormat; 62 SimpleDateFormat sdf = new SimpleDateFormat(pattern, locale); in getBestPatternExample() 125 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMMddHmm"), locale); in addPatternExample() 155 SimpleDateFormat format = new SimpleDateFormat("EEEE d MMMM y HH:mm:ss zzzz",locale); in replaceFieldTypesExample()
|
/external/icu/android_icu4j/src/samples/java/android/icu/samples/text/datetimepatterngenerator/ |
D | DateTimePatternGeneratorSample.java | 16 import android.icu.text.SimpleDateFormat; 63 SimpleDateFormat sdf = new SimpleDateFormat(pattern, locale); in getBestPatternExample() 126 SimpleDateFormat format = new SimpleDateFormat(gen.getBestPattern("MMMMddHmm"), locale); in addPatternExample() 156 SimpleDateFormat format = new SimpleDateFormat("EEEE d MMMM y HH:mm:ss zzzz",locale); in replaceFieldTypesExample()
|