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

1 2 3

  /libcore/luni/src/test/java/libcore/java/text/
SimpleDateFormatTest.java 36 SimpleDateFormat sdf = new SimpleDateFormat(); local
37 Date originalDate = sdf.get2DigitYearStart();
38 assertNotSame(sdf.get2DigitYearStart(), originalDate);
39 assertEquals(sdf.get2DigitYearStart(), originalDate);
41 assertFalse(sdf.get2DigitYearStart().equals(originalDate));
44 sdf.set2DigitYearStart(newDate);
45 assertNotSame(sdf.get2DigitYearStart(), newDate);
46 assertEquals(sdf.get2DigitYearStart(), newDate);
48 assertFalse(sdf.get2DigitYearStart().equals(newDate));
201 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l) local
227 SimpleDateFormat sdf = new SimpleDateFormat(fmt, Locale.US); local
241 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss Z"); local
320 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss zzzz", l); local
333 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss", new Locale("ar", "EG")); local
    [all...]
DateFormatSymbolsTest.java 77 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l); local
78 sdf.setDateFormatSymbols(dfs);
79 sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
80 return sdf.format(new Date(0));
  /libcore/luni/src/main/java/org/apache/harmony/security/asn1/
ASN1GeneralizedTime.java 87 SimpleDateFormat sdf = new SimpleDateFormat(GEN_PATTERN, Locale.US); local
88 sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
89 String temp = sdf.format(out.content);
ASN1UTCTime.java 98 SimpleDateFormat sdf = new SimpleDateFormat(UTC_PATTERN, Locale.US); local
99 sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
100 out.content = sdf.format(out.content).getBytes(Charsets.UTF_8);
  /external/icu4c/test/perf/normperf/
dtfmtrtperf.h 152 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], *status); local
170 sdf->setTimeZone(*tz);
171 sdf->format(DATES[datidx], tzstr, fpos);
176 sdf->setTimeZone(unknownZone);
188 sdf->parse(tzstr, *outcal, pos);
199 delete sdf;
  /external/icu4c/test/intltest/
dtfmrgts.cpp 74 SimpleDateFormat *sdf = (SimpleDateFormat*) DateFormat::createDateInstance(); local
79 if(sdf == NULL){
84 pat = sdf->toPattern(pat);
88 fmtd = sdf->format(today, fmtd, pos);
91 sdf->applyPattern("G yyyy DDD");
93 todayS = sdf->format(today, todayS, pos);
96 today = sdf->parse(todayS, status);
97 failure(status, "sdf->parse");
105 rt = sdf->format(sdf->parse(todayS, status), rt, pos)
713 SimpleDateFormat *sdf = new SimpleDateFormat(UnicodeString("z"), Locale::getUS(), status); local
800 SimpleDateFormat *sdf = new SimpleDateFormat(status); local
865 SimpleDateFormat *sdf = new SimpleDateFormat(status); local
1334 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); local
1443 SimpleDateFormat *sdf = new SimpleDateFormat(pattern,status); local
    [all...]
dtfmapts.cpp 308 SimpleDateFormat sdf(status);
311 sdf.format(dateObj, str, status);
312 sdf.format(dateObj, str, fpos, status);
314 sdf.format((UDate)0, str, fpos);
315 sdf.format((UDate)0, str);
316 sdf.parse(str, status);
317 sdf.parse(str, ppos);
318 sdf.getNumberFormat();
tzfmttst.cpp 121 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)PATTERNS[patidx], LOCALES[locidx], status); local
138 sdf->setTimeZone(*tz);
139 sdf->format(DATES[datidx], tzstr, fpos);
144 sdf->setTimeZone(unknownZone);
157 sdf->parse(tzstr, *outcal, pos);
244 delete sdf;
336 SimpleDateFormat *sdf = new SimpleDateFormat(pattern, data.locales[locidx], status); local
351 sdf->setTimeZone(*tz);
398 sdf->format(testTimes[testidx], text, fpos);
400 UDate parsedDate = sdf->parse(text, status)
    [all...]
dtfmttst.h 105 virtual void tryPattern(SimpleDateFormat& sdf, UDate d, const char* pattern, UDate expected);
dtptngts.cpp 540 SimpleDateFormat sdf(bPattern, loc, status);
542 rDate = sdf.format(testDate1, rDate);
565 SimpleDateFormat sdf(bPattern, loc, status);
567 rDate = sdf.format(testDate1, rDate);
    [all...]
caltest.h 166 SimpleDateFormat *sdf, int32_t times, UErrorCode& status);
168 virtual void loop_addroll(Calendar *cal, /*SimpleDateFormat *sdf, */
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...]
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/
DerUTCTimeEDTest.java 62 SimpleDateFormat sdf = local
64 sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
65 myDate = sdf.parse("06.06.2004 00:00");
UTCTimeTest.java 48 SimpleDateFormat sdf = new SimpleDateFormat("dd MMM yyyy HH:mm:ss", Locale.US); typedefs
49 sdf.setTimeZone(TimeZone.getTimeZone("GMT"));
81 validUTCTimes[i][2] = sdf
DerGeneralizedTimeEDTest.java 81 SimpleDateFormat sdf = local
83 sdf.setTimeZone(TimeZone.getTimeZone("UTC"));
84 myDate = sdf.parse("06.06.2004 00:00");
GeneralizedTimeTest.java 51 SimpleDateFormat sdf = new SimpleDateFormat("dd MMM yyyy HH:mm:ss", Locale.US); typedefs
52 sdf.setTimeZone(TimeZone.getTimeZone("GMT"));
90 validGeneralizedTimes[i][2] = sdf
  /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...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DateView.java 97 SimpleDateFormat sdf = new SimpleDateFormat(fmt, l); local
98 setText(sdf.format(new Date()));
  /external/libvpx/libvpx/vp8/common/
variance.h 101 vp8_sad_fn_t sdf; member in struct:variance_vtable
  /libcore/benchmarks/src/benchmarks/regression/
ExpensiveObjectsBenchmark.java 132 SimpleDateFormat sdf = new SimpleDateFormat(); local
134 sdf.clone();
  /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
  /cts/tests/tests/text/src/android/text/format/cts/
DateFormatTest.java 197 SimpleDateFormat sdf = new SimpleDateFormat(pattern); local
198 sdf.setTimeZone(utc);
207 assertEquals(expected, sdf.format(c.getTime()));
  /external/icu4c/i18n/
reldtfmt.cpp 86 SimpleDateFormat *sdf = dynamic_cast<SimpleDateFormat *>(df); local
87 if (sdf != NULL) {
88 sdf->toPattern(fTimePattern);
89 delete sdf;
  /external/libvpx/libvpx/vp8/encoder/
mcomp.c 897 bestsad = vfp->sdf(what, what_stride, this_offset, in_what_stride, UINT_MAX)
922 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride, bestsad);
933 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride, bestsad);
959 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride, bestsad);
970 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride, bestsad);
1001 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride, bestsad);
1012 thissad = vfp->sdf(what, what_stride, this_offset, in_what_stride, bestsad);
    [all...]
  /libcore/luni/src/main/java/java/util/
Date.java 675 SimpleDateFormat sdf = new SimpleDateFormat("d MMM y HH:mm:ss 'GMT'", Locale.US); local
677 sdf.setTimeZone(gmtZone);
680 return sdf.format(this);

Completed in 892 milliseconds

1 2 3