OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:SimpleDateFormat
(Results
51 - 75
of
145
) sorted by null
1
2
3
4
5
6
/cts/tools/host/src/com/android/cts/
HostUtils.java
36
import java.text.
SimpleDateFormat
;
50
private static
SimpleDateFormat
dateFormat = new
SimpleDateFormat
("EEE MMM dd HH:mm:ss z yyyy",
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
RssService.java
39
import java.text.
SimpleDateFormat
;
213
SimpleDateFormat
pubDate = new
SimpleDateFormat
();
/external/chromium/third_party/icu/source/i18n/
datefmt.cpp
308
// Try to create a
SimpleDateFormat
of the desired style.
309
SimpleDateFormat
*f = new
SimpleDateFormat
(timeStyle, dateStyle, locale, status);
316
f = new
SimpleDateFormat
(locale, status);
/frameworks/base/core/java/android/widget/
DateTimeView.java
37
import java.text.
SimpleDateFormat
;
200
return new
SimpleDateFormat
(format);
210
return new
SimpleDateFormat
(format);
DatePicker.java
35
import java.text.
SimpleDateFormat
;
202
if (format instanceof
SimpleDateFormat
) {
203
order = ((
SimpleDateFormat
) format).toPattern();
/frameworks/base/media/java/android/media/
ExifInterface.java
21
import java.text.
SimpleDateFormat
;
92
private static
SimpleDateFormat
sFormatter;
96
sFormatter = new
SimpleDateFormat
("yyyy:MM:dd HH:mm:ss");
/libcore/luni/src/main/java/java/sql/
Timestamp.java
21
import java.text.
SimpleDateFormat
;
416
SimpleDateFormat
df = new
SimpleDateFormat
("yyyy-MM-dd HH:mm:ss");
421
* a Date object using the
SimpleDateFormat
. This should stop after the
422
* seconds value, according to the definition of
SimpleDateFormat
.parse,
/libcore/luni/src/main/native/
TimeZones.cpp
31
static jstring formatDate(JNIEnv* env, const
SimpleDateFormat
& fmt, const UDate& when) {
86
// Much of the saving comes from caching
SimpleDateFormat
instances.
89
SimpleDateFormat
longFormat(longPattern, locale, status);
91
SimpleDateFormat
shortFormat(shortPattern, locale, status);
/libcore/luni/src/test/java/com/google/coretests/
XmlReportPrinter.java
31
import java.text.
SimpleDateFormat
;
126
SimpleDateFormat
dateFormat = new
SimpleDateFormat
("yyyy-MM-dd'T'HH:mm:ss");
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/
Log.java
21
import java.text.
SimpleDateFormat
;
352
SimpleDateFormat
formatter = new
SimpleDateFormat
("hh:mm:ss");
/libcore/luni/src/main/java/java/util/
Date.java
26
import java.text.
SimpleDateFormat
;
665
// TODO: why does this insert the year manually instead of using one
SimpleDateFormat
?
666
SimpleDateFormat
format1 = new
SimpleDateFormat
("d MMM ", Locale.US);
667
SimpleDateFormat
format2 = new
SimpleDateFormat
(" HH:mm:ss 'GMT'", Locale.US);
691
* The formatting is equivalent to using a {@code
SimpleDateFormat
} with
695
* use {@code
SimpleDateFormat
} instead.
705
// return new
SimpleDateFormat
("EEE MMM dd HH:mm:ss zzz yyyy").format(d);
/libcore/luni/src/test/java/libcore/java/text/
OldDateFormatTest.java
23
import java.text.
SimpleDateFormat
;
93
SimpleDateFormat
sdf = new
SimpleDateFormat
("M/d/yy h:mm a");
113
SimpleDateFormat
sdf = new
SimpleDateFormat
("M/d/yy h:mm a");
/libcore/support/src/test/java/tests/support/
Support_SimpleDateFormat.java
22
import java.text.
SimpleDateFormat
;
53
SimpleDateFormat
format = (
SimpleDateFormat
) DateFormat
140
SimpleDateFormat
format = (
SimpleDateFormat
) DateFormat
/libcore/luni/src/main/java/java/text/
SimpleDateFormat.java
158
*
SimpleDateFormat
sdf = new
SimpleDateFormat
(format, Locale.US);
179
* <p>As this example shows, each {@code
SimpleDateFormat
} instance has a {@link TimeZone}.
182
* By default, {@code
SimpleDateFormat
} will use the system's default time zone. This is
192
* {@code
SimpleDateFormat
} is not thread-safe. Users should create a separate instance for
200
public class
SimpleDateFormat
extends DateFormat {
227
* Constructs a new {@code
SimpleDateFormat
} for formatting and parsing
231
public
SimpleDateFormat
() {
238
* Constructs a new {@code
SimpleDateFormat
} using the specified
251
public
SimpleDateFormat
(String pattern)
[
all
...]
DateFormat.java
32
* formatting subclass, such as {@link
SimpleDateFormat
}, allows for formatting
106
* from the factory methods to a {@code
SimpleDateFormat
}. This will work for
123
* @see
SimpleDateFormat
462
return new
SimpleDateFormat
(LocaleData.get(locale).getDateFormat(style), locale);
516
return new
SimpleDateFormat
(pattern, locale);
582
return new
SimpleDateFormat
(LocaleData.get(locale).getTimeFormat(style), locale);
732
* {@link
SimpleDateFormat
#formatToCharacterIterator(Object)} method returns.
[
all
...]
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
NetworkUtilities.java
46
import java.text.
SimpleDateFormat
;
219
final
SimpleDateFormat
formatter =
220
new
SimpleDateFormat
("yyyy/MM/dd HH:mm");
/external/apache-http/src/org/apache/commons/logging/impl/
SimpleLog.java
27
import java.text.
SimpleDateFormat
;
59
* used in <code>java.text.
SimpleDateFormat
</code>. If the format is not
172
dateFormatter = new
SimpleDateFormat
(dateTimeFormat);
176
dateFormatter = new
SimpleDateFormat
(dateTimeFormat);
/external/icu4c/i18n/
datefmt.cpp
371
// Try to create a
SimpleDateFormat
of the desired style.
372
SimpleDateFormat
*f = new
SimpleDateFormat
(timeStyle, dateStyle, locale, status);
379
f = new
SimpleDateFormat
(locale, status);
/frameworks/base/core/java/android/text/format/
DateFormat.java
32
import java.text.
SimpleDateFormat
;
220
if (natural instanceof
SimpleDateFormat
) {
221
SimpleDateFormat
sdf = (
SimpleDateFormat
) natural;
259
return new java.text.
SimpleDateFormat
(context.getString(res));
289
return new java.text.
SimpleDateFormat
(format);
/libcore/luni/src/main/java/java/net/
HttpCookie.java
21
import java.text.
SimpleDateFormat
;
74
return new
SimpleDateFormat
("EEE, dd MMM yyyy HH:mm:ss zzz", Locale.US); // RFC 1123
390
return new
SimpleDateFormat
(formatString, Locale.US).parse(value);
/packages/apps/Email/src/com/android/email/mail/transport/
Rfc822Output.java
43
import java.text.
SimpleDateFormat
;
59
private static final
SimpleDateFormat
DATE_FORMAT =
60
new
SimpleDateFormat
("EEE, dd MMM yyyy HH:mm:ss Z", Locale.US);
/external/chromium/third_party/icu/source/test/intltest/
dtfmtrtts.cpp
91
SimpleDateFormat
fmt(pattern, locale, status);
274
if(fmt->getDynamicClassID() !=
SimpleDateFormat
::getStaticClassID()) {
275
errln("DateFormat wasn't a
SimpleDateFormat
");
288
pat = ((
SimpleDateFormat
*)fmt)->toPattern(pat);
467
dateFormat = new
SimpleDateFormat
((UnicodeString)"EEE MMM dd HH:mm:ss.SSS zzz yyyy G", ec);
469
fgStr = "[FAIL:
SimpleDateFormat
constructor]";
tzfmttst.cpp
116
SimpleDateFormat
*sdf = new
SimpleDateFormat
((UnicodeString)PATTERNS[patidx], LOCALES[locidx], status);
118
errcheckln(status, (UnicodeString)"new
SimpleDateFormat
failed for pattern " +
136
// Before parse, set unknown zone to
SimpleDateFormat
instance
338
SimpleDateFormat
*sdf = new
SimpleDateFormat
(pattern, LOCALES[locidx], status);
340
errcheckln(status, (UnicodeString)"new
SimpleDateFormat
failed for pattern " +
/external/icu4c/test/intltest/
dtfmtrtts.cpp
91
SimpleDateFormat
fmt(pattern, locale, status);
93
dataerrln("Fail: construct
SimpleDateFormat
: %s", u_errorName(status));
279
if(fmt->getDynamicClassID() !=
SimpleDateFormat
::getStaticClassID()) {
280
errln("DateFormat wasn't a
SimpleDateFormat
");
293
pat = ((
SimpleDateFormat
*)fmt)->toPattern(pat);
480
dateFormat = new
SimpleDateFormat
((UnicodeString)"EEE MMM dd HH:mm:ss.SSS zzz yyyy G", ec);
482
fgStr = "[FAIL:
SimpleDateFormat
constructor]";
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
CarrierLabel.java
29
import java.text.
SimpleDateFormat
;
Completed in 1435 milliseconds
1
2
3
4
5
6