HomeSort by relevance Sort by last modified time
    Searched refs:date (Results 76 - 100 of 2126) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/snakeyaml/src/test/java/org/yaml/snakeyaml/
JavaBeanTimeStampTest.java 18 import java.sql.Date;
30 Date date = new Date(1001376000000L); local
31 javaBeanToDump.setDate(date);
43 assertEquals(date, javaBeanToLoad.getDate());
50 Date date = new Date(1001376000000L); local
51 javaBeanToDump.setDate(date);
    [all...]
JavaBeanWithNullValues.java 19 import java.util.Date;
27 private Date date; field in class:JavaBeanWithNullValues
28 private java.sql.Date sqlDate;
75 public Date getDate() {
76 return date;
79 public void setDate(Date date) {
80 this.date = date;
    [all...]
  /external/strace/tests/
strace-t.test 7 run_prog_skip_if_failed date +%s > "$LOG"
8 run_prog_skip_if_failed date +%T --date "@$(cat "$LOG")" > /dev/null
11 s0="$(date +%s)"
13 s1="$(date +%s)"
18 t="$(date +%T --date "@$s")"
strace-tt.test 7 run_prog_skip_if_failed date +%s > "$LOG"
8 run_prog_skip_if_failed date +%T --date "@$(cat "$LOG")" > /dev/null
11 s0="$(date +%s)"
13 s1="$(date +%s)"
18 t="$(date +%T --date "@$s")"
  /external/strace/tests-m32/
strace-t.test 7 run_prog_skip_if_failed date +%s > "$LOG"
8 run_prog_skip_if_failed date +%T --date "@$(cat "$LOG")" > /dev/null
11 s0="$(date +%s)"
13 s1="$(date +%s)"
18 t="$(date +%T --date "@$s")"
strace-tt.test 7 run_prog_skip_if_failed date +%s > "$LOG"
8 run_prog_skip_if_failed date +%T --date "@$(cat "$LOG")" > /dev/null
11 s0="$(date +%s)"
13 s1="$(date +%s)"
18 t="$(date +%T --date "@$s")"
  /external/strace/tests-mx32/
strace-t.test 7 run_prog_skip_if_failed date +%s > "$LOG"
8 run_prog_skip_if_failed date +%T --date "@$(cat "$LOG")" > /dev/null
11 s0="$(date +%s)"
13 s1="$(date +%s)"
18 t="$(date +%T --date "@$s")"
strace-tt.test 7 run_prog_skip_if_failed date +%s > "$LOG"
8 run_prog_skip_if_failed date +%T --date "@$(cat "$LOG")" > /dev/null
11 s0="$(date +%s)"
13 s1="$(date +%s)"
18 t="$(date +%T --date "@$s")"
  /external/vboot_reference/scripts/
getversion.sh 33 date=$(date '+%F %T')
35 echo "const char futility_version[] = \"${ver} ${date} ${USER}\";";
  /libcore/ojluni/src/test/java/time/test/java/time/format/
TestReducedPrinter.java 216 MinguoDate date = MinguoDate.of(109, 6, 30); local
217 assertEquals(f.format(date), "09");
218 date = MinguoDate.of(110, 6, 30);
219 assertEquals(f.format(date), "10");
220 date = MinguoDate.of(199, 6, 30);
221 assertEquals(f.format(date), "99");
222 date = MinguoDate.of(200, 6, 30);
223 assertEquals(f.format(date), "00");
224 date = MinguoDate.of(209, 6, 30);
225 assertEquals(f.format(date), "09")
233 MinguoDate date = MinguoDate.of(109, 6, 30); local
    [all...]
  /external/autotest/contrib/
db_cleanup.py 21 # Format Appears as: [Date] [Time] - [Msg Level] - [Message]
28 WHERE %(table)s.%(time_column)s <= "%(date)s"
34 WHERE %(related_table)s.%(time_column)s <= "%(date)s"
44 WHERE %(related_table)s.%(time_column)s <= "%(date)s"
135 date, foreign_key=None,
154 @param related_table: Table with the date information we are selecting by.
158 @param date: End date of the information we are trying to delete.
159 @param time_column: Column that we want to use to compare the date to.
161 delete with the table with the date information
    [all...]
  /external/testng/src/main/java/org/testng/
TimeBombSkipException.java 9 import java.util.Date;
16 * You can customize this by using the specialized constructors. Suppported date
31 * The format used for date comparison is <tt>yyyy/MM/dd</tt>
35 public TimeBombSkipException(String msg, Date expirationDate) {
47 public TimeBombSkipException(String msg, Date expirationDate, String format) {
55 * Creates a {@code TimeBombedSkipException} using the <tt>date</tt>
58 * @param date time limit after which the SKIP becomes a FAILURE
60 public TimeBombSkipException(String msg, String date) {
62 initExpireDate(date);
66 * Creates a {@code TimeBombedSkipException} using the <tt>date</tt
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowDateFormatTest.java 10 import java.util.Date;
35 Date date = cal.getTime(); local
36 assertThat(getTimeFormat(context).format(date)).isEqualTo("07:48:03");
43 cal.set(Calendar.DATE, 12);
46 Date date = cal.getTime(); local
47 assertThat(getDateFormat(context).format(date)).isEqualTo("Jan-12-1970");
54 cal.set(Calendar.DATE, 31);
57 Date date = cal.getTime() local
68 Date date = cal.getTime(); local
79 Date date = cal.getTime(); local
    [all...]
  /libcore/ojluni/src/main/java/sun/util/calendar/
CalendarSystem.java 40 * programming interface to deal with calendar date and time.
53 * because, for example, a Chinese calendar date can't be understood
108 // calendar class name with its date class name.
223 public abstract CalendarDate getCalendarDate(long millis, CalendarDate date);
245 * @param date the <code>CalendarDate</code> from which the time
249 public abstract long getTime(CalendarDate date);
253 * <code>date</code>. This method does not perform the
258 public abstract int getYearLength(CalendarDate date);
266 public abstract int getYearLengthInMonths(CalendarDate date);
270 * date. This method does not perform the normalization with th
    [all...]
  /libcore/ojluni/src/test/java/time/tck/java/time/temporal/
TCKJulianFields.java 128 public void test_samples_get(TemporalField field, LocalDate date, long expected) {
129 assertEquals(date.getLong(field), expected);
133 public void test_samples_set(TemporalField field, LocalDate date, long value) {
134 assertEquals(field.adjustInto(LocalDate.MAX, value), date); local
135 assertEquals(field.adjustInto(LocalDate.MIN, value), date); local
136 assertEquals(field.adjustInto(JAN01_1970, value), date); local
137 assertEquals(field.adjustInto(DEC31_1969, value), date); local
138 assertEquals(field.adjustInto(NOV12_1945, value), date); local
143 public void test_samples_parse_STRICT(TemporalField field, LocalDate date, long value) {
147 assertEquals(parsed, date);
    [all...]
TCKIsoFields.java 124 public void test_DOQ(LocalDate date, int doq, int qoy) {
125 assertEquals(IsoFields.DAY_OF_QUARTER.getFrom(date), doq);
126 assertEquals(date.get(IsoFields.DAY_OF_QUARTER), doq);
138 public void test_QOY(LocalDate date, int doq, int qoy) {
139 assertEquals(IsoFields.QUARTER_OF_YEAR.getFrom(date), qoy);
140 assertEquals(date.get(IsoFields.QUARTER_OF_YEAR), qoy);
152 public void test_parse_quarters(LocalDate date, int doq, int qoy) {
158 LocalDate parsed = LocalDate.parse(date.getYear() + "-" + qoy + "-" + doq, f);
159 assertEquals(parsed, date);
163 public void test_parse_quarters_SMART(LocalDate date, int doq, int qoy)
444 LocalDate date = LocalDate.of(1960, 1, 5); \/\/ Tuseday of week 1 1960 local
    [all...]
  /libcore/ojluni/src/main/java/java/time/temporal/
WeekFields.java 132 * <tr><th>Date</th><td>Day-of-week</td>
162 * <tr><th>Date</th><td>Day-of-week</td>
219 * This allows a number of week-based-years to be added to, or subtracted from, a date.
452 * In the resolving phase of parsing, a date can be created from a year,
461 * is validated from 0 to 6, meaning that the resulting date can be in a
465 * are validated against the range of valid values. The resulting date is calculated
467 * First, create a date on the first day of the first week of January in the requested year.
468 * Then take the month-of-year, subtract one, and add the amount in months to the date.
469 * Then take the week-of-month, subtract one, and add the amount in weeks to the date.
498 * In the resolving phase of parsing, a date can be created from a year
726 ChronoLocalDate date = chrono.date(yowby, 1, 1); local
845 ChronoLocalDate date = Chronology.from(temporal).date(temporal); local
959 ChronoLocalDate date; local
985 ChronoLocalDate date = chrono.date(year, 1, 1); local
1009 ChronoLocalDate date; local
1136 ChronoLocalDate date = Chronology.from(temporal).date(temporal); local
1147 ChronoLocalDate date = Chronology.from(temporal).date(temporal); local
    [all...]
  /libcore/ojluni/src/main/java/java/util/
Date.java 44 * The class <code>Date</code> represents a specific instant
47 * Prior to JDK&nbsp;1.1, the class <code>Date</code> had two additional
50 * of date strings. Unfortunately, the API for these functions was not
54 * parse date strings.
55 * The corresponding methods in <code>Date</code> are deprecated.
57 * Although the <code>Date</code> class is intended to reflect
81 * corrections applied. There are other time and date systems as
96 * In all methods of class <code>Date</code> that accept or return
97 * year, month, date, hours, minutes, and seconds values, the
104 * <li>A date (day of month) is represented by an integer from 1 to 3
1051 BaseCalendar.Date date = normalize(); local
1143 BaseCalendar.Date date = local
    [all...]
  /libcore/ojluni/src/test/java/time/test/java/time/temporal/
TestIsoWeekFields.java 138 LocalDate date = LocalDate.of(2011, 1, 3); local
143 assertEquals(yearField.getFrom(date), wby);
144 assertEquals(weekField.getFrom(date), week);
145 assertEquals(DAY_OF_WEEK.getFrom(date), dow);
156 date = date.plusDays(1);
158 assertEquals(yearField.getFrom(date), 2017);
159 assertEquals(weekField.getFrom(date), 1);
160 assertEquals(DAY_OF_WEEK.getFrom(date), 1);
166 LocalDate date = LocalDate.of(2012, 1, 2) local
194 LocalDate date = LocalDate.of(2012, 1, 2); local
223 LocalDate date = LocalDate.of(2012, 1, 2); local
251 LocalDate date = LocalDate.of(2012, 1, 2); local
    [all...]
  /prebuilts/jdk/jdk8/darwin-x86/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/
ResultRecord.java 43 import java.util.Date;
70 * The Date at which this result was obtained.
72 private Date date; field in class:ResultRecord
102 date = new Date();
125 * Gets the Date at which this result was obtained.
126 * @return the Date at which this result was obtained.
128 @XmlElement(name="Date",namespace=XmlConfigUtils.NAMESPACE)
129 public Date getDate()
    [all...]
  /prebuilts/jdk/jdk8/linux-x86/sample/jmx/jmx-scandir/src/com/sun/jmx/examples/scandir/config/
ResultRecord.java 43 import java.util.Date;
70 * The Date at which this result was obtained.
72 private Date date; field in class:ResultRecord
102 date = new Date();
125 * Gets the Date at which this result was obtained.
126 * @return the Date at which this result was obtained.
128 @XmlElement(name="Date",namespace=XmlConfigUtils.NAMESPACE)
129 public Date getDate()
    [all...]
  /external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/javaspi/util/
TimeZoneNameProviderICU.java 26 long date = System.currentTimeMillis(); local
32 String lstd = tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date);
33 String ldst = tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date);
34 String sstd = tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date);
35 String sdst = tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date);
53 // tznames.getDisplayName(canonicalID, NameType.LONG_DAYLIGHT, date) :
54 // tznames.getDisplayName(canonicalID, NameType.LONG_STANDARD, date);
58 // tznames.getDisplayName(canonicalID, NameType.SHORT_DAYLIGHT, date) :
59 // tznames.getDisplayName(canonicalID, NameType.SHORT_STANDARD, date);
  /frameworks/base/tools/preload2/src/com/android/preload/
DumpData.java 19 import java.util.Date;
41 * The Date when this data was captured. Mostly for display purposes.
43 Date date; field in class:DumpData
51 public DumpData(String packageName, Map<String, String> dumpData, Date date) {
54 this.date = date;
63 public Date getDate() {
64 return date;
    [all...]
  /libcore/ojluni/src/test/java/time/test/java/time/chrono/
TestUmmAlQuraChronology.java 113 // Test to verify the epoch days for given Hijrah & ISO date instances
116 assertEquals(hd.toEpochDay(), ld.toEpochDay(), "Umm alQura date and ISO date should have same epochDay");
158 public void Test_UmmAlQuraRanges(HijrahDate date,
163 HijrahChronology chrono = date.getChronology();
178 // Check the date ranges
179 yearRange = date.range(YEAR);
180 assertEquals(yearRange.getMinimum(), minYear, "Minimum year for Hijrah date");
181 assertEquals(yearRange.getLargestMinimum(), minYear, "Largest minimum year for Hijrah date");
182 assertEquals(yearRange.getMaximum(), maxYear, "Maximum year for Hijrah date");
360 HijrahDate date = HijrahDate.of(1554, 7, 21); local
403 ChronoLocalDate date = HijrahChronology.INSTANCE.date(year, month, 1); local
508 HijrahDate date = HijrahDate.of(y, 1, 1); local
530 HijrahDate date = HijrahDate.of(y, 1, 1); local
    [all...]
  /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...]

Completed in 634 milliseconds

1 2 34 5 6 7 8 91011>>