HomeSort by relevance Sort by last modified time
    Searched full:dateformat (Results 101 - 125 of 727) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/icu/icu4c/source/test/intltest/
dtfmapts.h 27 * Tests basic functionality of various generic API methods in DateFormat
caltztst.cpp 24 DateFormat* CalendarTimeZoneTest::fgDateFormat = 0;
41 DateFormat* CalendarTimeZoneTest::getDateFormat()
43 DateFormat *theFormat = 0;
71 void CalendarTimeZoneTest::releaseDateFormat(DateFormat *adopt)
148 DateFormat* format = getDateFormat();
164 DateFormat* format = getDateFormat();
astrotst.cpp 276 DateFormat *df_t = DateFormat::createTimeInstance(DateFormat::MEDIUM,Locale::getUS());
277 DateFormat *df_d = DateFormat::createDateInstance(DateFormat::MEDIUM,Locale::getUS());
278 DateFormat *df_dt = DateFormat::createDateTimeInstance(DateFormat::MEDIUM, DateFormat::MEDIUM, Locale::getUS())
    [all...]
dtfmttst.h 19 * Performs many different tests for DateFormat and SimpleDateFormat
27 * the DateFormat instances that contain the correct localized patterns.
58 static void getFieldText(DateFormat* df, int32_t field, UDate date, UnicodeString& str);
131 virtual void parse2DigitYear(DateFormat& fmt, const char* str, UDate expected);
254 UBool showParse(DateFormat &format, const UnicodeString &formattedString);
  /external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/
UnixDirectoryListingFormatter.java 22 import java.text.DateFormat;
55 DateFormat dateFormat = new SimpleDateFormat(DATE_FORMAT, locale);
56 String dateStr = dateFormat.format(fileSystemEntry.getLastModified());
  /external/mockftpserver/MockFtpServer/src/test/groovy/org/mockftpserver/fake/filesystem/
UnixDirectoryListingFormatterTest.groovy 75 def dateFormat = new SimpleDateFormat(UnixDirectoryListingFormatter.DATE_FORMAT, Locale.FRENCH)
76 def formattedDate = dateFormat.format(LAST_MODIFIED)
97 def dateFormat = new SimpleDateFormat(UnixDirectoryListingFormatter.DATE_FORMAT, Locale.ENGLISH)
98 lastModifiedFormatted = dateFormat.format(LAST_MODIFIED)
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DateView.java 24 import android.icu.text.DateFormat;
40 private DateFormat mDateFormat;
104 DateFormat format = DateFormat.getInstanceForSkeleton(mDatePattern, l);
  /packages/apps/DeskClock/src/com/android/deskclock/
AlarmUtils.java 22 import android.text.format.DateFormat;
40 final String skeleton = DateFormat.is24HourFormat(context) ? "EHm" : "Ehma";
41 final String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton);
42 return (String) DateFormat.format(pattern, time);
  /packages/apps/Settings/src/com/android/settings/notification/
ZenModeVoiceActivity.java 28 import android.text.format.DateFormat;
111 String skeleton = DateFormat.is24HourFormat(this, UserHandle.myUserId()) ? "Hm" : "hma";
112 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton);
113 CharSequence formattedTime = DateFormat.format(pattern, time);
  /developers/build/prebuilts/gradle/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessageLogger.java 22 import java.text.DateFormat;
34 private static final DateFormat DATE_FORMAT = SimpleDateFormat.getDateTimeInstance();
  /developers/samples/android/notification/MessagingService/Application/src/main/java/com/example/android/messagingservice/
MessageLogger.java 22 import java.text.DateFormat;
34 private static final DateFormat DATE_FORMAT = SimpleDateFormat.getDateTimeInstance();
  /development/samples/browseable/MessagingService/src/com.example.android.messagingservice/
MessageLogger.java 22 import java.text.DateFormat;
34 private static final DateFormat DATE_FORMAT = SimpleDateFormat.getDateTimeInstance();
  /frameworks/base/packages/Keyguard/src/com/android/keyguard/
KeyguardStatusView.java 26 import android.text.format.DateFormat;
169 String skeleton = DateFormat.is24HourFormat(context, ActivityManager.getCurrentUser())
172 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton);
173 return DateFormat.format(pattern, info.getTriggerTime()).toString();
221 // DateFormat.getBestDateTimePattern is extremely expensive, and refresh is called often.
240 dateView = DateFormat.getBestDateTimePattern(locale, dateViewSkel);
242 clockView12 = DateFormat.getBestDateTimePattern(locale, clockView12Skel);
249 clockView24 = DateFormat.getBestDateTimePattern(locale, clockView24Skel);
  /libcore/benchmarks/src/benchmarks/regression/
DateToStringBenchmark.java 19 import android.text.format.DateFormat;
59 DateFormat.format("EEE MMM dd HH:mm:ss zzz yyyy", calendar);
  /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;
155 mTitleDateFormat = DateFormat.getDateInstance(DateFormat.FULL);
198 final DateFormat dateFormat =
200 setTitle(dateFormat.format(calendar.getTime()));
  /art/test/092-locale/src/
Main.java 17 import java.text.DateFormat;
74 DateFormat fmt = DateFormat.getDateInstance(DateFormat.FULL, usa);
90 fmt = DateFormat.getDateInstance(DateFormat.FULL, usa);
  /external/icu/icu4c/source/samples/datefmt/
README.TXT 21 NumberFormat, DateFormat, MessageFormat?
55 Once you have the UDate, create a DateFormat object in each of the
57 language. Use the DateFormat::createDateInstance() method to create
67 three objects: a DateFormat, a Calendar, and a TimeZone. Each object
69 the TimeZone, and the DateFormat must use the Calendar.
71 DateFormat =uses=> Calendar =uses=> TimeZone
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
AstroTest.java 19 import android.icu.text.DateFormat;
251 DateFormat df = DateFormat.getTimeInstance(cal, DateFormat.MEDIUM, Locale.US);
252 DateFormat df2 = DateFormat.getDateTimeInstance(cal, DateFormat.MEDIUM, DateFormat.MEDIUM, Locale.US);
253 DateFormat day = DateFormat.getDateInstance(cal, DateFormat.MEDIUM, Locale.US)
    [all...]
CopticTest.java 14 import android.icu.text.DateFormat;
332 DateFormat format = DateFormat.getDateTimeInstance(cal, DateFormat.FULL, DateFormat.FULL, formatLocale);
345 DateFormat gDF = DateFormat.getDateInstance(gCal,DateFormat.FULL);
354 DateFormat cDF = DateFormat.getDateInstance(cCal,DateFormat.FULL)
    [all...]
JapaneseTest.java 16 import android.icu.text.DateFormat;
110 DateFormat fmt = cal.getDateTimeFormat(DateFormat.FULL, DateFormat.FULL, Locale.ENGLISH);
142 DateFormat format = DateFormat.getDateTimeInstance(cal, DateFormat.FULL, DateFormat.FULL, formatLocale);
153 DateFormat enjformat = cal.getDateTimeFormat(0,0,new ULocale("en_JP@calendar=japanese"));
154 DateFormat format = cal.getDateTimeFormat(0,0,loc)
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
AstroTest.java 18 import com.ibm.icu.text.DateFormat;
247 DateFormat df = DateFormat.getTimeInstance(cal, DateFormat.MEDIUM, Locale.US);
248 DateFormat df2 = DateFormat.getDateTimeInstance(cal, DateFormat.MEDIUM, DateFormat.MEDIUM, Locale.US);
249 DateFormat day = DateFormat.getDateInstance(cal, DateFormat.MEDIUM, Locale.US)
    [all...]
CopticTest.java 13 import com.ibm.icu.text.DateFormat;
328 DateFormat format = DateFormat.getDateTimeInstance(cal, DateFormat.FULL, DateFormat.FULL, formatLocale);
341 DateFormat gDF = DateFormat.getDateInstance(gCal,DateFormat.FULL);
350 DateFormat cDF = DateFormat.getDateInstance(cCal,DateFormat.FULL)
    [all...]
JapaneseTest.java 15 import com.ibm.icu.text.DateFormat;
106 DateFormat fmt = cal.getDateTimeFormat(DateFormat.FULL, DateFormat.FULL, Locale.ENGLISH);
138 DateFormat format = DateFormat.getDateTimeInstance(cal, DateFormat.FULL, DateFormat.FULL, formatLocale);
149 DateFormat enjformat = cal.getDateTimeFormat(0,0,new ULocale("en_JP@calendar=japanese"));
150 DateFormat format = cal.getDateTimeFormat(0,0,loc)
    [all...]
  /external/icu/icu4c/source/i18n/
reldtfmt.h 35 * parameters to DateFormat::createDateInstance.
38 * DateFormat *fullrelative = DateFormat::createDateInstance(DateFormat::kFullRelative, loc);
43 class RelativeDateFormat : public DateFormat {
84 using DateFormat::format;
88 * 1, 1970. Overrides DateFormat pure virtual method.
159 * @see DateFormat::setLenient(boolean)
240 * DateFormat.
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/cldr/
TestCLDRVsICU.java 38 import android.icu.text.DateFormat;
120 addLocales(DateFormat.getAvailableULocales(), s);
300 static DateFormat iso = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
305 static int[] DateFormatValues = { -1, DateFormat.SHORT, DateFormat.MEDIUM, DateFormat.LONG, DateFormat.FULL };
430 int dateFormat = 0;
458 dateFormat = index;
468 SimpleDateFormat dt = getDateFormat(locale, dateFormat, timeFormat)
    [all...]

Completed in 4079 milliseconds

1 2 3 45 6 7 8 91011>>