Home
last modified time | relevance | path

Searched refs:fromDate (Results 1 – 18 of 18) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DDateInterval.java24 private final long fromDate; field in DateInterval
34 fromDate = from; in DateInterval()
44 return fromDate; in getFromDate()
62 return fromDate == di.fromDate && toDate == di.toDate; in equals()
71 return (int)(fromDate + toDate); in hashCode()
78 return String.valueOf(fromDate) + " " + String.valueOf(toDate); in toString()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DDateInterval.java24 private final long fromDate; field in DateInterval
35 fromDate = from; in DateInterval()
46 return fromDate; in getFromDate()
66 return fromDate == di.fromDate && toDate == di.toDate; in equals()
76 return (int)(fromDate + toDate); in hashCode()
84 return String.valueOf(fromDate) + " " + String.valueOf(toDate); in toString()
/external/icu/icu4c/source/common/
Ddtintrv.cpp26 : fromDate(from), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
43 fromDate = other.fromDate; in operator =()
58 return ( fromDate == other.fromDate && toDate == other.toDate ); in operator ==()
Ducurr.cpp2127 UDate fromDate = U_DATE_MIN; in ucurr_createCurrencyList() local
2135 fromDate = (UDate)currDate64; in ucurr_createCurrencyList()
2157 entry->from = fromDate; in ucurr_createCurrencyList()
2344 UDate fromDate = (UDate)currDate64; in ucurr_countCurrencies() local
2356 if ((fromDate <= date) && (date < toDate)) in ucurr_countCurrencies()
2365 if (fromDate <= date) in ucurr_countCurrencies()
2468 UDate fromDate = (UDate)currDate64; in ucurr_forLocaleAndDate() local
2480 if ((fromDate <= date) && (date < toDate)) in ucurr_forLocaleAndDate()
2493 if (fromDate <= date) in ucurr_forLocaleAndDate()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDataDrivenFormatTest.java104 Date fromDate = null; in testConvertDate() local
136 fromDate = new Date(Long.parseLong(date.substring(kMILLIS.length()))); in testConvertDate()
139 fromDate = new Date(now+Long.parseLong(date.substring(kRELATIVE_MILLIS.length()))); in testConvertDate()
159 fromDate = cal.getTime(); in testConvertDate()
171 output = format.format(fromDate, output, pos); in testConvertDate()
188 if(gotDate.equals(fromDate)) { in testConvertDate()
193 basicFmt.format(fromDate)); in testConvertDate()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDataDrivenFormatTest.java101 Date fromDate = null; in testConvertDate() local
133 fromDate = new Date(Long.parseLong(date.substring(kMILLIS.length()))); in testConvertDate()
136 fromDate = new Date(now+Long.parseLong(date.substring(kRELATIVE_MILLIS.length()))); in testConvertDate()
156 fromDate = cal.getTime(); in testConvertDate()
168 output = format.format(fromDate, output, pos); in testConvertDate()
185 if(gotDate.equals(fromDate)) { in testConvertDate()
190 basicFmt.format(fromDate)); in testConvertDate()
/external/icu/icu4c/source/test/intltest/
Ddadrfmt.cpp121 UDate fromDate = 0; in testConvertDate() local
200 fromDate = udbg_stod(millis); in testConvertDate()
204 fromDate = udbg_stod(millis) + now; in testConvertDate()
227 fromDate = cal->getTime(status); in testConvertDate()
252 format->format(fromDate, output, pos, status); in testConvertDate()
287 if(gotDate == fromDate) { in testConvertDate()
291 basicFmt.format(fromDate,expectDateStr); in testConvertDate()
Ddadrcal.cpp78 UDate fromDate = 0; // TODO in testOps() local
140 fromDate = udbg_stod(millis); in testOps()
207 fromCalendar->setTime(fromDate, status); in testOps()
/external/icu/icu4c/source/common/unicode/
Ddtintrv.h43 DateInterval(UDate fromDate, UDate toDate);
134 UDate fromDate; variable
142 return fromDate; in getFromDate()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDateIntervalFormat.java34 public static String formatDateInterval(long address, long fromDate, long toDate) { in formatDateInterval() argument
38 …INTERVAL_CACHE.get(address).format(new com.ibm.icu.util.DateInterval(fromDate, toDate), buffer, po… in formatDateInterval()
/external/icu/icu4c/source/i18n/
Dudateintervalformat.cpp69 UDate fromDate, in udtitvfmt_format() argument
94 DateInterval interval = DateInterval(fromDate,toDate); in udtitvfmt_format()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DDataDrivenCalendarTest.java178 long fromDate = 0; in testOps() local
204 fromDate = Long.parseLong(from.substring(kMILLIS.length())); in testOps()
242 fromCalendar.setTimeInMillis(fromDate); in testOps()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DDataDrivenCalendarTest.java181 long fromDate = 0; in testOps() local
207 fromDate = Long.parseLong(from.substring(kMILLIS.length())); in testOps()
245 fromCalendar.setTimeInMillis(fromDate); in testOps()
/external/icu/icu4c/source/i18n/unicode/
Dudateintervalformat.h177 UDate fromDate,
/external/icu/libandroidicu/include/unicode/
Dudateintervalformat.h177 UDate fromDate,
/external/cldr/tools/java/org/unicode/cldr/test/
DTestMetazones.java155 long fromDate = DateRange.parse(from, false); in fillMetazoneData() local
160 DateRange range = new DateRange(fromDate, toDate); in fillMetazoneData()
/external/cldr/tools/java/org/unicode/cldr/tool/
DCLDRModify.java1336 int fromDate = 2008;
1370 … String tagString = leadingParenString + nf.format(fromDate) + separator + nf.format(toDate)
/external/icu/libandroidicu/static_shim/
Dshim.cpp1552 int32_t udtitvfmt_format_android(const UDateIntervalFormat * formatter, UDate fromDate, UDate toDat… in udtitvfmt_format_android() argument
1553 return udtitvfmt_format(formatter, fromDate, toDate, result, resultCapacity, position, status); in udtitvfmt_format_android()