OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:dateFormat
(Results
1 - 25
of
307
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/icu/icu4c/source/test/intltest/
dtfmtrtts.h
23
* Performs round-trip tests for
DateFormat
37
void test(
DateFormat
*fmt, const Locale &origLocale, UBool timeOnly = FALSE );
90
SimpleDateFormat *
dateFormat
;
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
WindowsDirectoryListingFormatter.java
20
import java.text.
DateFormat
;
42
DateFormat
dateFormat
= new SimpleDateFormat(DATE_FORMAT, Locale.ENGLISH);
43
String dateStr =
dateFormat
.format(fileSystemEntry.getLastModified());
UnixDirectoryListingFormatter.java
22
import java.text.
DateFormat
;
55
DateFormat
dateFormat
= new SimpleDateFormat(DATE_FORMAT, locale);
56
String dateStr =
dateFormat
.format(fileSystemEntry.getLastModified());
/packages/apps/Camera2/src/com/android/camera/
PanoUtil.java
25
SimpleDateFormat
dateFormat
= new SimpleDateFormat(format);
26
return
dateFormat
.format(date);
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
PanoUtil.java
25
SimpleDateFormat
dateFormat
= new SimpleDateFormat(format);
26
return
dateFormat
.format(date);
/packages/apps/TV/tests/common/src/com/android/tv/testing/utils/
Utils.java
102
SimpleDateFormat
dateFormat
= new SimpleDateFormat("yyyyMMdd", Locale.getDefault());
103
String today =
dateFormat
.format(new Date());
/packages/apps/Contacts/src/com/android/contacts/datepicker/
DatePickerDialog.java
34
import java.text.
DateFormat
;
56
private final
DateFormat
mTitleDateFormat;
57
private final
DateFormat
mTitleNoYearDateFormat;
122
mTitleDateFormat =
DateFormat
.getDateInstance(
DateFormat
.FULL);
158
final
DateFormat
dateFormat
=
160
setTitle(
dateFormat
.format(calendar.getTime()));
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
ReportExporter.java
92
SimpleDateFormat
dateFormat
= new SimpleDateFormat("yyyy.MM.dd-HH.mm.ss", Locale.ENGLISH);
93
String date =
dateFormat
.format(new Date());
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DateFormatRoundTripTest.java
29
import android.icu.text.
DateFormat
;
37
* Performs round-trip tests for
DateFormat
44
private SimpleDateFormat
dateFormat
;
54
dateFormat
= new SimpleDateFormat("EEE MMM dd HH:mm:ss.SSS zzz yyyy G");
58
final Locale[] avail =
DateFormat
.getAvailableLocales();
60
logln("
DateFormat
available locales: " + locCount);
86
case
DateFormat
.SHORT :
88
case
DateFormat
.MEDIUM :
90
case
DateFormat
.LONG :
92
case
DateFormat
.FULL
[
all
...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DateFormatRoundTripTest.java
28
import com.ibm.icu.text.
DateFormat
;
35
* Performs round-trip tests for
DateFormat
41
private SimpleDateFormat
dateFormat
;
51
dateFormat
= new SimpleDateFormat("EEE MMM dd HH:mm:ss.SSS zzz yyyy G");
55
final Locale[] avail =
DateFormat
.getAvailableLocales();
57
logln("
DateFormat
available locales: " + locCount);
83
case
DateFormat
.SHORT :
85
case
DateFormat
.MEDIUM :
87
case
DateFormat
.LONG :
89
case
DateFormat
.FULL
[
all
...]
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/page/
SessionsPage.java
15
import java.text.
DateFormat
;
49
private final
DateFormat
dateFormat
;
79
this.
dateFormat
=
DateFormat
.getDateTimeInstance(
DateFormat
.DEFAULT,
80
DateFormat
.DEFAULT, context.getLocale());
118
tr.td().text(
dateFormat
.format(new Date(i.getStartTimeStamp())));
119
tr.td().text(
dateFormat
.format(new Date(i.getDumpTimeStamp())));
/external/vogar/src/vogar/
XmlReportReader.java
107
SimpleDateFormat
dateFormat
= new SimpleDateFormat(XmlReportConstants.
DATEFORMAT
);
108
dateFormat
.setTimeZone(TimeZone.getTimeZone("GMT"));
109
dateFormat
.setLenient(true);
112
date =
dateFormat
.parse(timestamp);
OutcomeStore.java
160
SimpleDateFormat
dateFormat
= new SimpleDateFormat(FILE_NAME_DATE_FORMAT);
161
dateFormat
.setTimeZone(TimeZone.getTimeZone("UTC"));
162
dateFormat
.setLenient(true);
163
String timestamp =
dateFormat
.format(date);
XmlReportPrinter.java
65
SimpleDateFormat
dateFormat
= new SimpleDateFormat(XmlReportConstants.
DATEFORMAT
);
67
dateFormat
.setTimeZone(gmt);
68
dateFormat
.setLenient(true);
69
return
dateFormat
.format(date);
/packages/apps/Contacts/src/com/android/contacts/vcard/
ShareVCardActivity.java
88
final SimpleDateFormat
dateFormat
= new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.US);
89
final String currentDateString =
dateFormat
.format(new Date()).toString();
/packages/apps/Messaging/src/com/android/messaging/util/
FileUtil.java
41
final SimpleDateFormat
dateFormat
= new SimpleDateFormat(fileNameFormat);
42
final String numberedFileNameFormat =
dateFormat
.format(date) + "_%02d" + "." + extension;
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
QuotedTextView.java
37
import java.text.
DateFormat
;
245
DateFormat
dateFormat
=
DateFormat
.getDateTimeInstance(
DateFormat
.MEDIUM,
DateFormat
.SHORT);
253
dateFormat
.format(date),
266
true /* remove empty quotes */),
dateFormat
.format(date), Utils
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
ReportExporter.java
154
SimpleDateFormat
dateFormat
= new SimpleDateFormat("yyyy.MM.dd_HH.mm.ss", Locale.ENGLISH);
155
String date =
dateFormat
.format(new Date());
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
SimpleDateFormat.java
39
* <code>getDateTimeInstance</code> in <code>
DateFormat
</code>. Each
44
* {@link
DateFormat
}.
200
* @see
DateFormat
206
public class SimpleDateFormat extends
DateFormat
{
212
* generality, use the factory methods in the
DateFormat
class.
214
* @see
DateFormat
224
* generality, use the factory methods in the
DateFormat
class.
235
* generality, use the factory methods in the
DateFormat
class.
246
* generality, use the factory methods in the
DateFormat
class.
291
((java.text.SimpleDateFormat)
dateFormat
).set2DigitYearStart(startDate)
[
all
...]
/external/robolectric-shadows/shadows/framework/src/main/java/android/webkit/
RoboCookieManager.java
7
import java.text.
DateFormat
;
239
DateFormat
dateFormat
= new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss zzz");
240
return
dateFormat
.parse(date);
246
DateFormat
dateFormat
= new SimpleDateFormat("EEE, dd-MMM-yyyy HH:mm:ss zzz");
247
return
dateFormat
.parse(date);
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/picker/
TimePicker.java
22
import android.text.format.
DateFormat
;
111
DateFormat
.is24HourFormat(context));
151
hourPattern =
DateFormat
.getBestDateTimePattern(mConstant.locale, mIs24hFormat ? "Hma"
156
final java.text.
DateFormat
dateFormat
=
158
if (
dateFormat
instanceof SimpleDateFormat) {
159
String defaultPattern = ((SimpleDateFormat)
dateFormat
).toPattern();
/packages/apps/Contacts/src/com/android/contacts/util/
ContactPhotoUtils.java
82
SimpleDateFormat
dateFormat
= new SimpleDateFormat(PHOTO_DATE_FORMAT, Locale.US);
83
return "ContactPhoto-" +
dateFormat
.format(date) + ".jpg";
88
SimpleDateFormat
dateFormat
= new SimpleDateFormat(PHOTO_DATE_FORMAT, Locale.US);
89
return "ContactPhoto-" +
dateFormat
.format(date) + "-cropped.jpg";
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
AttachmentUtils.java
190
final SimpleDateFormat
dateFormat
= new SimpleDateFormat("yyyy-MM-dd-kk:mm:ss");
191
file = File.createTempFile(
dateFormat
.format(new Date()), ".attachment", cacheDir);
/tools/tradefederation/core/src/com/android/tradefed/result/
MetricsXMLResultReporter.java
206
SimpleDateFormat
dateFormat
= new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
207
dateFormat
.setTimeZone(TimeZone.getTimeZone("UTC"));
208
dateFormat
.setLenient(true);
209
return
dateFormat
.format(new Date());
XmlResultReporter.java
133
SimpleDateFormat
dateFormat
= new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");
135
dateFormat
.setTimeZone(gmt);
136
dateFormat
.setLenient(true);
137
String timestamp =
dateFormat
.format(new Date());
Completed in 941 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>