HomeSort by relevance Sort by last modified time
    Searched defs:date (Results 1 - 25 of 1080) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/protobuf/objectivec/
GPBWellKnownTypes.h 38 // Extension to GPBTimestamp to work with standard Foundation time/date types.
40 @property(nonatomic, readwrite, strong) NSDate *date; variable
42 - (instancetype)initWithDate:(NSDate *)date;
  /frameworks/base/core/java/android/security/keymaster/
KeymasterDateArgument.java 20 import java.util.Date;
26 public final Date date; field in class:KeymasterDateArgument
28 public KeymasterDateArgument(int tag, Date date) {
34 throw new IllegalArgumentException("Bad date tag " + tag);
36 this.date = date;
41 date = new Date(in.readLong())
    [all...]
  /libcore/luni/src/test/java/libcore/java/time/chrono/
HijrahChronologyTest.java 42 HijrahDate date = HijrahDate.of(1300, 2, 5); local
43 assertEquals(1300, date.getLong(ChronoField.YEAR_OF_ERA));
44 assertEquals(1300, date.getLong(ChronoField.YEAR));
45 assertEquals(2, date.getLong(ChronoField.MONTH_OF_YEAR));
47 assertEquals(1300 * 12 + 2 - 1, date.getLong(ChronoField.PROLEPTIC_MONTH));
48 assertEquals(5, date.getLong(ChronoField.DAY_OF_MONTH));
50 assertEquals(30 + 5, date.getLong(ChronoField.DAY_OF_YEAR));
51 assertEquals(date.toEpochDay(), date.getLong(ChronoField.EPOCH_DAY));
MinguoChronologyTest.java 91 for (MinguoDate date : dates) {
92 // only these three ChronoFields and YEAR_OF_ERA (below) have date-dependent ranges.
93 assertEquals(LocalDate.from(date).range(ChronoField.DAY_OF_MONTH),
94 date.range(ChronoField.DAY_OF_MONTH));
95 assertEquals(LocalDate.from(date).range(ChronoField.DAY_OF_YEAR),
96 date.range(ChronoField.DAY_OF_YEAR));
97 assertEquals(LocalDate.from(date).range(ChronoField.ALIGNED_WEEK_OF_MONTH),
98 date.range(ChronoField.ALIGNED_WEEK_OF_MONTH));
113 MinguoDate date = MinguoDate.of(10, 2, 5); local
114 assertEquals(10, date.getLong(ChronoField.YEAR_OF_ERA))
    [all...]
ThaiBuddhistChronologyTest.java 93 for (ThaiBuddhistDate date : dates) {
94 // only these three ChronoFields and YEAR_OF_ERA (below) have date-dependent ranges.
95 assertEquals(LocalDate.from(date).range(ChronoField.DAY_OF_MONTH),
96 date.range(ChronoField.DAY_OF_MONTH));
97 assertEquals(LocalDate.from(date).range(ChronoField.DAY_OF_YEAR),
98 date.range(ChronoField.DAY_OF_YEAR));
99 assertEquals(LocalDate.from(date).range(ChronoField.ALIGNED_WEEK_OF_MONTH),
100 date.range(ChronoField.ALIGNED_WEEK_OF_MONTH));
115 ThaiBuddhistDate date = ThaiBuddhistDate.of(10, 2, 5); local
116 assertEquals(10, date.getLong(ChronoField.YEAR_OF_ERA))
    [all...]
  /external/pdfium/fxjs/
cjs_publicmethods_embeddertest.cpp 14 double RoundDownDate(double date) {
15 return date - fmod(date, 86400000);
27 double date; local
31 date = CJS_PublicMethods::MakeRegularDate(L"06/25/1968", L"mm/dd/yyyy",
33 date = RoundDownDate(date);
34 EXPECT_DOUBLE_EQ(-47865600000, date);
39 date = CJS_PublicMethods::MakeRegularDate(L"25061968", L"ddmmyyyy",
41 date = RoundDownDate(date)
    [all...]
  /frameworks/base/libs/androidfw/include/androidfw/
ZipUtils.h 71 const uint32_t date = when >> 16; local
74 timespec->tm_year = ((date >> 9) & 0x7F) + 80; // Zip is years since 1980
75 timespec->tm_mon = ((date >> 5) & 0x0F) - 1;
76 timespec->tm_mday = date & 0x1F;
  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/date/
SimpleDayPickerView.java 17 package com.android.datetimepicker.date;
SimpleMonthAdapter.java 17 package com.android.datetimepicker.date;
SimpleMonthView.java 17 package com.android.datetimepicker.date;
  /libcore/benchmarks/src/benchmarks/regression/
DateToStringBenchmark.java 23 import java.util.Date;
27 Date date; field in class:DateToStringBenchmark
33 date = new Date(0);
35 calendar.setTime(date);
41 date.toString();
47 new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy").format(date);
53 ((SimpleDateFormat) format.clone()).format(date);
  /external/linux-kselftest/tools/testing/selftests/timers/
rtctest_setdate.c 34 const char *rtc, *date; local
42 date = argv[2];
56 sscanf(date, "%d-%d-%d", &new.tm_mday, &new.tm_mon, &new.tm_year);
61 fprintf(stderr, "Test will set RTC date/time to %d-%d-%d, %02d:%02d:%02d.\n",
65 /* Write the new date in RTC */
80 fprintf(stderr, "\n\nCurrent RTC date/time is %d-%d-%d, %02d:%02d:%02d.\n",
  /external/snakeyaml/src/test/java/examples/jodatime/
JodaTimeImplicitContructor.java 18 import java.util.Date;
36 Date date = (Date) super.construct(node); local
37 return new DateTime(date, DateTimeZone.UTC);
JodaTimeRepresenter.java 18 import java.util.Date;
32 DateTime date = (DateTime) data; local
33 return super.representData(new Date(date.getMillis()));
MyBean.java 22 private DateTime date; field in class:MyBean
33 return date;
36 public void setDate(DateTime date) {
37 this.date = date;
  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/
JavaBeanWithSqlTimestamp.java 20 private java.sql.Date date; field in class:JavaBeanWithSqlTimestamp
30 public java.sql.Date getDate() {
31 return date;
34 public void setDate(java.sql.Date date) {
35 this.date = date;
  /libcore/luni/src/test/java/libcore/java/text/
OldDateFormatTest.java 25 import java.util.Date;
40 public Date parse(String source, ParsePosition pos) {
46 public StringBuffer format(Date date, StringBuffer toAppendTo,
84 * java.text.DateFormat#format(java.util.Date) Test of method
85 * java.text.DateFormat#format(java.util.Date).
93 Date current = new Date();
96 assertTrue("Incorrect date format", sdf.format(current).equals(dtf));
113 Date current = new Date()
225 Date date = format.parse(format.format(current).toString()); local
258 Date date = format.parse(format.format(current).toString()); local
286 Date date = format.parse(format.format(current).toString()); local
300 Date date = format.parse(format.format(current).toString()); local
314 Date date = format.parse(format.format(current).toString()); local
333 Date date = format.parse(format.format(current).toString()); local
359 Date date = format.parse(formattedCurrent); local
    [all...]
  /libcore/ojluni/src/main/java/sun/util/calendar/
AbstractCalendar.java 36 * <p><a name="fixed_date"></a><B>Fixed Date</B><br>
39 * have the common date numbering, starting from midnight the onset of
40 * Monday, January 1, 1 (Gregorian). It is called a <I>fixed date</I>
41 * in this class. January 1, 1 (Gregorian) is fixed date 1. (See
85 public void setEra(CalendarDate date, String eraName) {
92 date.setEra(e);
112 CalendarDate date = newCalendarDate(zone); local
113 return getCalendarDate(millis, date);
116 public CalendarDate getCalendarDate(long millis, CalendarDate date) {
120 long days = 0; // fixed date
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/ingest/ui/
DateTileView.java 32 * Displays a date in a square tile.
87 public void setDate(SimpleDate date) {
88 setDate(date.getDay(), date.getMonth(), date.getYear());
91 public void setDate(int date, int month, int year) {
92 if (date != mDate) {
93 mDate = date;
  /libcore/luni/src/test/java/libcore/java/sql/
TimestampTest.java 150 java.util.Date date = new java.util.Date(0); local
152 assertTrue(date.equals(timestamp));
153 assertFalse(timestamp.equals(date));
  /libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/
TCKChronoLocalDateSerialization.java 110 public void test_ChronoSerialization(ChronoLocalDate date, int dateType) throws Exception {
111 assertSerializable(date);
118 private void test_serialization_format(ChronoLocalDate date, int dateType) throws Exception {
122 dos.writeInt(date.get(YEAR));
123 dos.writeByte(date.get(MONTH_OF_YEAR));
124 dos.writeByte(date.get(DAY_OF_MONTH));
127 assertSerializedBySer(date, bytes);
136 HijrahDate date = HijrahDate.of(1433, 10, 29); local
155 dos.writeInt(date.get(YEAR));
156 dos.writeByte(date.get(MONTH_OF_YEAR))
    [all...]
  /development/tools/bugreport/src/com/android/bugreport/stacks/
ProcessSnapshot.java 27 public String date; field in class:ProcessSnapshot
42 this.date = that.date;
  /external/icu/icu4c/source/samples/datefmt/answers/
main_2.cpp 46 UDate date; local
48 // The languages in which we will display the date
70 date = cal->getTime(status);
76 // Create a formatter for DATE
79 // Format the date
81 fmt->format(date, str, status);
83 // Display the formatted date string
84 printf("Date (%s): ", LANGUAGE[i]);
main_3.cpp 46 UDate date; local
48 // The languages in which we will display the date
70 date = cal->getTime(status);
76 // Create a formatter for DATE and TIME
85 // Format the date
87 fmt->format(date, str, status);
89 // Display the formatted date string
90 printf("Date (%s, %s): ", LANGUAGE[i], TIMEZONE[j]);
  /external/icu/icu4c/source/samples/datefmt/
main.cpp 46 UDate date; local
48 // The languages in which we will display the date
70 date = cal->getTime(status);
76 // Create a formatter for DATE and TIME
85 // Format the date
87 fmt->format(date, str, status);
89 // Display the formatted date string
90 printf("Date (%s, %s): ", LANGUAGE[i], TIMEZONE[j]);

Completed in 312 milliseconds

1 2 3 4 5 6 7 8 91011>>