HomeSort by relevance Sort by last modified time
    Searched defs:sdf (Results 1 - 25 of 31) 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/
ASN1GeneralizedTime.java 100 SimpleDateFormat sdf = new SimpleDateFormat(GEN_PATTERN); local
101 sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
102 String temp = sdf.format(out.content);
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);
  /external/chromium/third_party/icu/source/test/intltest/
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...]
caltest.cpp 1315 SimpleDateFormat *sdf=new SimpleDateFormat(UnicodeString("YYYY'-W'ww-ee"), Locale::getGermany(), status); local
    [all...]
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...]
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...]
dtfmttst.cpp 106 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"zzzz", status); local
151 sdf->setTimeZone(*ttz);
157 sdf->format(today,fmtOffset, pos);
187 delete sdf;
675 SimpleDateFormat* sdf = (SimpleDateFormat*)DateFormat::createDateInstance(); local
676 if (sdf == NULL){
680 tryPattern(*sdf, today, 0, expected);
681 tryPattern(*sdf, today, "G yyyy DDD", expected);
682 delete sdf;
689 DateFormatTest::tryPattern(SimpleDateFormat& sdf, UDate d, const char* pattern, UDate expected
    [all...]
numrgts.cpp 1300 DecimalFormat *sdf = new DecimalFormat(UnicodeString("#,##0"), status); local
1982 DecimalFormat *sdf = new DecimalFormat(status); local
    [all...]
  /frameworks/base/core/java/android/text/format/
DateFormat.java 221 SimpleDateFormat sdf = (SimpleDateFormat) natural; local
222 String pattern = sdf.toPattern();
  /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());
  /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/test/intltest/
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...]
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...]
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...]
dtfmttst.cpp 106 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"zzzz", status); local
151 sdf->setTimeZone(*ttz);
157 sdf->format(today,fmtOffset, pos);
187 delete sdf;
714 SimpleDateFormat* sdf = (SimpleDateFormat*)DateFormat::createDateInstance(); local
715 if (sdf == NULL){
719 tryPattern(*sdf, today, 0, expected);
720 tryPattern(*sdf, today, "G yyyy DDD", expected);
721 delete sdf;
728 DateFormatTest::tryPattern(SimpleDateFormat& sdf, UDate d, const char* pattern, UDate expected
    [all...]
  /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
  /external/libvpx/vp8/encoder/
variance.h 312 vp8_sad_fn_t sdf; member in struct:__anon5303
  /frameworks/base/services/java/com/android/server/
AlarmManagerService.java 462 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); local
465 pw.print(sdf.format(new Date(now))); pw.println("):");
    [all...]
  /external/chromium/third_party/icu/source/i18n/
dtptngen.cpp 422 SimpleDateFormat* sdf = (SimpleDateFormat*)df; local
423 conflictingStatus = addPattern(sdf->toPattern(dfPattern), FALSE, conflictingString, status);
433 SimpleDateFormat* sdf = (SimpleDateFormat*)df; local
434 conflictingStatus = addPattern(sdf->toPattern(dfPattern), FALSE, conflictingString, status);
    [all...]
smpdtfmt.cpp 1254 SimpleDateFormat *sdf = (SimpleDateFormat*)this->clone(); local
    [all...]
  /external/icu4c/i18n/
dtptngen.cpp 417 SimpleDateFormat* sdf = (SimpleDateFormat*)df; local
418 conflictingStatus = addPattern(sdf->toPattern(dfPattern), FALSE, conflictingString, status);
428 SimpleDateFormat* sdf = (SimpleDateFormat*)df; local
429 conflictingStatus = addPattern(sdf->toPattern(dfPattern), FALSE, conflictingString, status);
    [all...]
smpdtfmt.cpp 1252 SimpleDateFormat *sdf = (SimpleDateFormat*)this->clone(); local
    [all...]

Completed in 843 milliseconds

1 2