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

1 2

  /libcore/luni/src/test/java/libcore/java/text/
SimpleDateFormatTest.java 30 SimpleDateFormat sdf = new SimpleDateFormat(); local
31 Date originalDate = sdf.get2DigitYearStart();
32 assertNotSame(sdf.get2DigitYearStart(), originalDate);
33 assertEquals(sdf.get2DigitYearStart(), originalDate);
35 assertFalse(sdf.get2DigitYearStart().equals(originalDate));
38 sdf.set2DigitYearStart(newDate);
39 assertNotSame(sdf.get2DigitYearStart(), newDate);
40 assertEquals(sdf.get2DigitYearStart(), newDate);
42 assertFalse(sdf.get2DigitYearStart().equals(newDate));
78 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l) local
    [all...]
DateFormatSymbolsTest.java 74 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l); local
75 sdf.setDateFormatSymbols(dfs);
76 sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
77 return sdf.format(new Date(0));
OldDateFormatTest.java 93 SimpleDateFormat sdf = new SimpleDateFormat("M/d/yy h:mm a"); local
94 assertTrue("Incorrect date format", sdf.format(current).equals(dtf));
113 SimpleDateFormat sdf = new SimpleDateFormat("M/d/yy h:mm a"); local
114 assertTrue("Incorrect date format", sdf.format(current).equals(
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ASN1UTCTime.java 116 SimpleDateFormat sdf = new SimpleDateFormat(UTC_PATTERN); local
117 sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
118 out.content = sdf.format(out.content).getBytes(Charsets.UTF_8);
ASN1GeneralizedTime.java 100 SimpleDateFormat sdf = new SimpleDateFormat(GEN_PATTERN); local
101 sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
102 String temp = sdf.format(out.content);
  /external/chromium/third_party/icu/source/test/intltest/
dtfmrgts.cpp 72 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance(); local
77 if(sdf == NULL){
82 pat = sdf->toPattern(pat);
86 fmtd = sdf->format(today, fmtd, pos);
89 sdf->applyPattern("G yyyy DDD");
91 todayS = sdf->format(today, todayS, pos);
94 today = sdf->parse(todayS, status);
95 failure(status, "sdf->parse");
103 rt = sdf->format(sdf->parse(todayS, status), rt, pos)
709 SimpleDateFormat *sdf = new SimpleDateFormat(UnicodeString("z"), Locale::getUS(), status); local
796 SimpleDateFormat *sdf = new SimpleDateFormat(status); local
861 SimpleDateFormat *sdf = new SimpleDateFormat(status); local
1330 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); local
1439 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); local
    [all...]
tzfmttst.cpp 116 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], status); local
133 sdf->setTimeZone(*tz);
134 sdf->format(DATES[datidx], tzstr, fpos);
139 sdf->setTimeZone(unknownZone);
152 sdf->parse(tzstr, *outcal, pos);
234 delete sdf;
338 SimpleDateFormat *sdf = new SimpleDateFormat(pattern, LOCALES[locidx], status); local
364 sdf->setTimeZone(*tz);
412 sdf->format(testTimes[testidx], text, fpos);
414 UDate parsedDate = sdf->parse(text, status)
    [all...]
dtfmapts.cpp 278 SimpleDateFormat sdf(status);
280 sdf.format(dateObj, str, status);
281 sdf.format(dateObj, str, fpos, status);
283 sdf.format((UDate)0, str, fpos);
284 sdf.format((UDate)0, str);
285 sdf.parse(str, status);
286 sdf.parse(str, ppos);
dtfmttst.h 100 virtual void tryPattern(SimpleDateFormat& sdf, UDate d, const char* pattern, UDate expected);
caltest.h 166 SimpleDateFormat *sdf, int32_t times, UErrorCode& status);
168 virtual void loop_addroll(Calendar *cal, /*SimpleDateFormat *sdf, */
dtptngts.cpp 440 SimpleDateFormat sdf(bPattern, loc, status);
442 rDate = sdf.format(testDate1, rDate);
465 SimpleDateFormat sdf(bPattern, loc, status);
467 rDate = sdf.format(testDate1, rDate);
526 SimpleDateFormat sdf(bestPattern, loc, status);
528 resultDate = sdf.format(testDate, resultDate);
tzregts.cpp 148 SimpleDateFormat sdf((UnicodeString)"E d MMM yyyy G HH:mm", status);
153 sdf.setCalendar(cal);
168 sdf.format(cal.getTime(status), str);
185 sdf.format(jan31, str.remove()) + "; transition at " +
186 (trans?sdf.format(trans, str2.remove()):(UnicodeString)"NONE"));
189 sdf.format(mar1, str.remove()) + "; transition at " +
190 (trans?sdf.format(trans, str2.remove()):(UnicodeString)"NONE"));
193 sdf.format(mar31, str.remove()) + "; transition at " +
194 (trans?sdf.format(trans, str2.remove()):(UnicodeString)"NONE"));
398 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"MM/dd/yyyy HH:mm", status); local
    [all...]
calregts.cpp 908 SimpleDateFormat sdf(status);
918 sdf.adoptCalendar(testCal);
919 sdf.applyPattern("EEE dd MMM yyyy 'WOY'ww'-'YYYY 'DOY'DDD");
941 output = testDesc + " - " + sdf.format(d,temp,pos) + "\t";
    [all...]
  /external/icu4c/test/intltest/
dtfmrgts.cpp 72 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance(); local
77 if(sdf == NULL){
82 pat = sdf->toPattern(pat);
86 fmtd = sdf->format(today, fmtd, pos);
89 sdf->applyPattern("G yyyy DDD");
91 todayS = sdf->format(today, todayS, pos);
94 today = sdf->parse(todayS, status);
95 failure(status, "sdf->parse");
103 rt = sdf->format(sdf->parse(todayS, status), rt, pos)
709 SimpleDateFormat *sdf = new SimpleDateFormat(UnicodeString("z"), Locale::getUS(), status); local
796 SimpleDateFormat *sdf = new SimpleDateFormat(status); local
861 SimpleDateFormat *sdf = new SimpleDateFormat(status); local
1330 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); local
1439 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); local
    [all...]
dtfmapts.cpp 307 SimpleDateFormat sdf(status);
309 sdf.format(dateObj, str, status);
310 sdf.format(dateObj, str, fpos, status);
312 sdf.format((UDate)0, str, fpos);
313 sdf.format((UDate)0, str);
314 sdf.parse(str, status);
315 sdf.parse(str, ppos);
tzfmttst.cpp 117 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], status); local
134 sdf->setTimeZone(*tz);
135 sdf->format(DATES[datidx], tzstr, fpos);
140 sdf->setTimeZone(unknownZone);
153 sdf->parse(tzstr, *outcal, pos);
235 delete sdf;
320 SimpleDateFormat *sdf = new SimpleDateFormat(pattern, data.locales[locidx], status); local
346 sdf->setTimeZone(*tz);
393 sdf->format(testTimes[testidx], text, fpos);
395 UDate parsedDate = sdf->parse(text, status)
    [all...]
dtfmttst.h 100 virtual void tryPattern(SimpleDateFormat& sdf, UDate d, const char* pattern, UDate expected);
caltest.h 166 SimpleDateFormat *sdf, int32_t times, UErrorCode& status);
168 virtual void loop_addroll(Calendar *cal, /*SimpleDateFormat *sdf, */
dtptngts.cpp 441 SimpleDateFormat sdf(bPattern, loc, status);
443 rDate = sdf.format(testDate1, rDate);
466 SimpleDateFormat sdf(bPattern, loc, status);
468 rDate = sdf.format(testDate1, rDate);
527 SimpleDateFormat sdf(bestPattern, loc, status);
529 resultDate = sdf.format(testDate, resultDate);
    [all...]
tzregts.cpp 148 SimpleDateFormat sdf((UnicodeString)"E d MMM yyyy G HH:mm", status);
153 sdf.setCalendar(cal);
168 sdf.format(cal.getTime(status), str);
185 sdf.format(jan31, str.remove()) + "; transition at " +
186 (trans?sdf.format(trans, str2.remove()):(UnicodeString)"NONE"));
189 sdf.format(mar1, str.remove()) + "; transition at " +
190 (trans?sdf.format(trans, str2.remove()):(UnicodeString)"NONE"));
193 sdf.format(mar31, str.remove()) + "; transition at " +
194 (trans?sdf.format(trans, str2.remove()):(UnicodeString)"NONE"));
398 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"MM/dd/yyyy HH:mm", status); local
    [all...]
calregts.cpp 937 SimpleDateFormat sdf(status);
947 sdf.adoptCalendar(testCal);
948 sdf.applyPattern("EEE dd MMM yyyy 'WOY'ww'-'YYYY 'DOY'DDD");
    [all...]
  /external/svox/pico/lib/
picoos.c 1516 picoos_sd_file_t * sdf = NULL; local
1578 picoos_sd_file_t * sdf = sdFile; local
1726 picoos_sd_file_t * sdf = NULL; local
    [all...]
  /external/chromium/third_party/icu/source/tools/tzcode/
icuzdump.cpp 46 sdf = new SimpleDateFormat((UnicodeString)"yyyy-MM-dd EEE HH:mm:ss", Locale::getEnglish(), status);
55 sdf->setTimeZone(*stz);
56 UnicodeString str = sdf->format(time, appendTo);
86 SimpleDateFormat* sdf; member in class:DumpFormatter
  /external/icu4c/tools/tzcode/
icuzdump.cpp 46 sdf = new SimpleDateFormat((UnicodeString)"yyyy-MM-dd EEE HH:mm:ss", Locale::getEnglish(), status);
55 sdf->setTimeZone(*stz);
56 UnicodeString str = sdf->format(time, appendTo);
86 SimpleDateFormat* sdf; member in class:DumpFormatter
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
Clock.java 143 SimpleDateFormat sdf; local
177 mClockFormat = sdf = new SimpleDateFormat(format);
180 sdf = mClockFormat;
182 String result = sdf.format(mCalendar.getTime());

Completed in 926 milliseconds

1 2