Home
last modified time | relevance | path

Searched refs:DATE (Results 1 – 25 of 187) sorted by relevance

12345678

/external/icu/icu4c/source/test/testdata/
Dcalendar.txt29 "ERA=1,YEAR=1,MONTH=JUNE,DATE=4", // tw
30 "ERA=1,YEAR=1912,MONTH=,DATE=" // greg
34 "ERA=1,YEAR=3,MONTH=FEBRUARY,DATE=12", // tw
35 "ERA=1,YEAR=1914,MONTH=,DATE=" // greg
39 "ERA=1,YEAR=96,MONTH=FEBRUARY,DATE=12", // tw
40 "ERA=1,YEAR=2007,MONTH=,DATE=" // greg
46 "ERA=0,YEAR=2,MONTH=JANUARY,DATE=24", // tw
47 "ERA=1,YEAR=1910,MONTH=JANUARY,DATE=24", // greg
54 "EXTENDED_YEAR=4601,MONTH=6,DATE=28,IS_LEAP_MONTH=0", // ch
55 "YEAR=1964,MONTH=8,DATE=4", // greg
[all …]
Dformat.txt25 // spec: either 'PATTERN=y mm h' etc, or 'DATE=SHORT,TIME=LONG'
29 …// or RELATIVE_ADD:DATE=1 which means that the field "DATE" will be added by +1 relative t…
36 "DATE=SHORT,TIME=SHORT",
37 "ERA=1,YEAR=2007,MONTH=AUGUST,DATE=8,HOUR_OF_DAY=18,MINUTE=54,SECOND=0",
43 "DATE=LONG",
44 "ERA=1,YEAR=98,MONTH=0,DATE=24",
51 "DATE=LONG",
52 "ERA=0,YEAR=2,MONTH=0,DATE=24",
71 "DATE=RELATIVE_SHORT",
72 "RELATIVE_ADD:DATE=1", // one day from now
[all …]
/external/dbus/cmake/modules/
DMacros.cmake4 EXECUTE_PROCESS(COMMAND "cmd" " /C date /T" OUTPUT_VARIABLE DATE)
5 string(REGEX REPLACE "(..)[/.](..)[/.](....).*" "\\3\\2\\1" DATE ${DATE})
8 set (${RESULT} "${DATE}${TIME}")
/external/libmtp/
Dhotplug.sh.in158 DATE=`echo ${CVSTAG} | awk '{ print $5 }'`
159 echo "Hotplug version seems to be from ${DATE}"
160 YEAR=`echo ${DATE} | awk 'BEGIN { FS="/"} {print $1; }'`
161 MONTH=`echo ${DATE} | awk 'BEGIN { FS="/"} {print $2; }'`
162 DAY=`echo ${DATE} | awk 'BEGIN { FS="/"} {print $3; }'`
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/
DCalendarTest.java186 assertEquals(15, cal.get(Calendar.DATE)); in testSetIntIntInt()
297 cal.roll(Calendar.DATE, true); in testRollIntBoolean()
298 assertEquals(28, cal.get(Calendar.DATE)); in testRollIntBoolean()
307 cal.roll(Calendar.DATE, 3); in testRollIntInt()
308 assertEquals(2, cal.get(Calendar.DATE)); in testRollIntInt()
317 cal.add(Calendar.DATE, 3); in testAdd()
318 assertEquals(2, cal.get(Calendar.DATE)); in testAdd()
487 assertEquals(1, cal.getGreatestMinimum(Calendar.DATE)); in testGetGreatestMinimum()
495 assertEquals(28, cal.getLeastMaximum(Calendar.DATE)); in testGetLeastMaximum()
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarPanel.java112 fCalendar[0].set(Calendar.DATE, 1); in startOfMonth()
148 c.roll(Calendar.DATE, false); in calculate()
149 daysInMonth = c.get(Calendar.DATE); in calculate()
152 c.roll(Calendar.DATE, true); in calculate()
285 c.add(Calendar.DATE, -cell); in paint()
308 int date = fCalendar[i].get(Calendar.DATE); in paint()
341 c.add(Calendar.DATE, 1); in paint()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCompatibilityTest.java103 dom = cal.get(Calendar.DATE), dow = cal.get(Calendar.DAY_OF_WEEK); in TestGregorianChangeover()
377 case Calendar.YEAR: case Calendar.MONTH: case Calendar.DATE: in TestGenericAPI()
458 for (int i = 0; i < 9; i++, gc.add(Calendar.DATE, 1)) { in TestRog()
461 gc.get(Calendar.DATE) != (date + i)) in TestRog()
527 c.set(Calendar.DATE, 3); in TestDisambiguation765()
614 int cd = c.get(Calendar.DATE); in verify765()
669 cal.get(Calendar.DATE), in aux4064654()
698 cal.add (Calendar.DATE, -5); in TestAddSetOrder621()
710 cal.add (Calendar.DATE, -5); in TestAddSetOrder621()
734 temp.add( Calendar.DATE, 1 ); in TestAdd520()
[all …]
DHebrewTest.java71 { 5757, KISLEV, 1, DATE, 30, 5757, KISLEV, 2 }, // 29-day month in TestRoll()
72 { 5758, KISLEV, 1, DATE, 31, 5758, KISLEV, 2 }, // 30-day month in TestRoll()
113 { 5762, AV, 30, DATE, 1, 5762, ELUL, 1 }, // JB#2327 in TestAdd()
114 { 5762, ELUL, 1, DATE, -1, 5762, AV, 30 }, // JB#2327 in TestAdd()
117 { 5757, KISLEV, 1, DATE, 30, 5757, TEVET, 2 }, // 29-day month in TestAdd()
118 { 5758, KISLEV, 1, DATE, 31, 5758, TEVET, 2 }, // 30-day month in TestAdd()
483 int dayHC = hc.get (HebrewCalendar.DATE); in Test1624()
DEthiopicTest.java267 cal.get(DATE)); in TestBasic()
273 cal.get(DATE)); in TestBasic()
463 new TestAddSetItem( 2000, 12, 1, Calendar.DATE, +8, 2001, 0, 4 ), in TestAddSet()
464 … new TestAddSetItem( 1999, 12, 1, Calendar.DATE, +8, 2000, 0, 3 ), // 1999 is a leap year in TestAddSet()
465 new TestAddSetItem( 2000, 0, 1, Calendar.DATE, -1, 1999, 12, 6 ), in TestAddSet()
474 int endDay = testCalendar.get(Calendar.DATE); in TestAddSet()
DCopticTest.java198 cal.get(DATE)); in TestBasic()
204 cal.get(DATE)); in TestBasic()
405 new TestAddSetItem( 1724, 12, 1, Calendar.DATE, +8, 1725, 0, 4 ), in TestAddSet()
406 … new TestAddSetItem( 1723, 12, 1, Calendar.DATE, +8, 1724, 0, 3 ), // 1723 is a leap year in TestAddSet()
407 new TestAddSetItem( 1724, 0, 1, Calendar.DATE, -1, 1723, 12, 6 ), in TestAddSet()
416 int endDay = testCalendar.get(Calendar.DATE); in TestAddSet()
DTestCase.java64 get(Calendar.DATE); in toString()
100 set(Calendar.DATE, day); in TestCase()
137 set(Calendar.DATE, day); in TestCase()
DDangiTest.java278 cal.set(DATE, d1); in TestOutOfRange()
281 int d = cal.get(DATE); in TestOutOfRange()
364 || cal.get(Calendar.IS_LEAP_MONTH) != test[8] || cal.get(DATE) != test[9]) { in doRollAddDangi()
417 cc.set(Calendar.DATE, 19); in TestInitWithCurrentTime()
423 cc.add(Calendar.DATE, 1); in TestInitWithCurrentTime()
DChineseTest.java413 cal.set(DATE, d1); in TestOutOfRange()
416 int d = cal.get(DATE); in TestOutOfRange()
503 cal.get(DATE) != test[9]) { in doRollAdd()
563 || cal.get(Calendar.IS_LEAP_MONTH) != 1 || cal.get(Calendar.DATE) != 2 in TestCoverage()
577 || cal.get(Calendar.IS_LEAP_MONTH) != 1 || cal.get(Calendar.DATE) != 2 in TestCoverage()
693 cc.set(Calendar.DATE, 19); in TestInitWithCurrentTime()
699 cc.add(Calendar.DATE, 1); in TestInitWithCurrentTime()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCompatibilityTest.java99 dom = cal.get(Calendar.DATE), dow = cal.get(Calendar.DAY_OF_WEEK); in TestGregorianChangeover()
373 case Calendar.YEAR: case Calendar.MONTH: case Calendar.DATE: in TestGenericAPI()
454 for (int i = 0; i < 9; i++, gc.add(Calendar.DATE, 1)) { in TestRog()
457 gc.get(Calendar.DATE) != (date + i)) in TestRog()
523 c.set(Calendar.DATE, 3); in TestDisambiguation765()
610 int cd = c.get(Calendar.DATE); in verify765()
665 cal.get(Calendar.DATE), in aux4064654()
694 cal.add (Calendar.DATE, -5); in TestAddSetOrder621()
706 cal.add (Calendar.DATE, -5); in TestAddSetOrder621()
730 temp.add( Calendar.DATE, 1 ); in TestAdd520()
[all …]
DHebrewTest.java67 { 5757, KISLEV, 1, DATE, 30, 5757, KISLEV, 2 }, // 29-day month in TestRoll()
68 { 5758, KISLEV, 1, DATE, 31, 5758, KISLEV, 2 }, // 30-day month in TestRoll()
109 { 5762, AV, 30, DATE, 1, 5762, ELUL, 1 }, // JB#2327 in TestAdd()
110 { 5762, ELUL, 1, DATE, -1, 5762, AV, 30 }, // JB#2327 in TestAdd()
113 { 5757, KISLEV, 1, DATE, 30, 5757, TEVET, 2 }, // 29-day month in TestAdd()
114 { 5758, KISLEV, 1, DATE, 31, 5758, TEVET, 2 }, // 30-day month in TestAdd()
479 int dayHC = hc.get (HebrewCalendar.DATE); in Test1624()
DCopticTest.java194 cal.get(DATE)); in TestBasic()
200 cal.get(DATE)); in TestBasic()
401 new TestAddSetItem( 1724, 12, 1, Calendar.DATE, +8, 1725, 0, 4 ), in TestAddSet()
402 … new TestAddSetItem( 1723, 12, 1, Calendar.DATE, +8, 1724, 0, 3 ), // 1723 is a leap year in TestAddSet()
403 new TestAddSetItem( 1724, 0, 1, Calendar.DATE, -1, 1723, 12, 6 ), in TestAddSet()
412 int endDay = testCalendar.get(Calendar.DATE); in TestAddSet()
DEthiopicTest.java263 cal.get(DATE)); in TestBasic()
269 cal.get(DATE)); in TestBasic()
459 new TestAddSetItem( 2000, 12, 1, Calendar.DATE, +8, 2001, 0, 4 ), in TestAddSet()
460 … new TestAddSetItem( 1999, 12, 1, Calendar.DATE, +8, 2000, 0, 3 ), // 1999 is a leap year in TestAddSet()
461 new TestAddSetItem( 2000, 0, 1, Calendar.DATE, -1, 1999, 12, 6 ), in TestAddSet()
470 int endDay = testCalendar.get(Calendar.DATE); in TestAddSet()
DTestCase.java63 get(Calendar.DATE); in toString()
99 set(Calendar.DATE, day); in TestCase()
136 set(Calendar.DATE, day); in TestCase()
DDangiTest.java274 cal.set(DATE, d1); in TestOutOfRange()
277 int d = cal.get(DATE); in TestOutOfRange()
360 || cal.get(Calendar.IS_LEAP_MONTH) != test[8] || cal.get(DATE) != test[9]) { in doRollAddDangi()
413 cc.set(Calendar.DATE, 19); in TestInitWithCurrentTime()
419 cc.add(Calendar.DATE, 1); in TestInitWithCurrentTime()
DChineseTest.java409 cal.set(DATE, d1); in TestOutOfRange()
412 int d = cal.get(DATE); in TestOutOfRange()
499 cal.get(DATE) != test[9]) { in doRollAdd()
559 || cal.get(Calendar.IS_LEAP_MONTH) != 1 || cal.get(Calendar.DATE) != 2 in TestCoverage()
573 || cal.get(Calendar.IS_LEAP_MONTH) != 1 || cal.get(Calendar.DATE) != 2 in TestCoverage()
689 cc.set(Calendar.DATE, 19); in TestInitWithCurrentTime()
695 cc.add(Calendar.DATE, 1); in TestInitWithCurrentTime()
/external/ksoap2/kobjects/org/ksoap2/kobjects/isodate/
DIsoDate.java27 public static final int DATE = 1; field in IsoDate
44 if ((type & DATE) != 0) { in dateToString()
79 if ((type & DATE) != 0) { in stringToDate()
/external/conscrypt/
Dupdate_prebuilts.sh101 DATE="$(date +"%Y%m%d")"
104 repo start "pb_$DATE" .
/external/icu/android_icu4j/src/main/java/android/icu/text/
DDateIntervalFormat.java641 } else if ( fromCalendar.get(Calendar.DATE) != in getPatterns()
642 toCalendar.get(Calendar.DATE) ) { in getPatterns()
643 field = Calendar.DATE; in getPatterns()
702 } else if ( fromCalendar.get(Calendar.DATE) != in format()
703 toCalendar.get(Calendar.DATE) ) { in format()
704 field = Calendar.DATE; in format()
1145 CALENDAR_FIELD_TO_PATTERN_LETTER[Calendar.DATE], ptn); in initializeIntervalPattern()
1189 CALENDAR_FIELD_TO_PATTERN_LETTER[Calendar.DATE], ptn); in initializeIntervalPattern()
1206 if ( !fieldExistsInSkeleton(Calendar.DATE, dateSkeleton) ) { in initializeIntervalPattern()
1209 CALENDAR_FIELD_TO_PATTERN_LETTER[Calendar.DATE] + skeleton; in initializeIntervalPattern()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateIntervalFormat.java648 } else if ( fromCalendar.get(Calendar.DATE) != in getPatterns()
649 toCalendar.get(Calendar.DATE) ) { in getPatterns()
650 field = Calendar.DATE; in getPatterns()
710 } else if ( fromCalendar.get(Calendar.DATE) != in format()
711 toCalendar.get(Calendar.DATE) ) { in format()
712 field = Calendar.DATE; in format()
1157 CALENDAR_FIELD_TO_PATTERN_LETTER[Calendar.DATE], ptn); in initializeIntervalPattern()
1201 CALENDAR_FIELD_TO_PATTERN_LETTER[Calendar.DATE], ptn); in initializeIntervalPattern()
1218 if ( !fieldExistsInSkeleton(Calendar.DATE, dateSkeleton) ) { in initializeIntervalPattern()
1221 CALENDAR_FIELD_TO_PATTERN_LETTER[Calendar.DATE] + skeleton; in initializeIntervalPattern()
[all …]
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DCalendar.java743 public final static int DATE = 5; field in Calendar
1400 calendar.set(getJDKField(DATE), date); in set()
1419 calendar.set(getJDKField(DATE), date); in set()
1442 calendar.set(getJDKField(DATE), date); in set()
2443 case DATE: in getJDKField()
2444 return java.util.Calendar.DATE; in getJDKField()

12345678