Home
last modified time | relevance | path

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

/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/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/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.cpp2084 UDate fromDate = U_DATE_MIN; in ucurr_createCurrencyList() local
2092 fromDate = (UDate)currDate64; in ucurr_createCurrencyList()
2114 entry->from = fromDate; in ucurr_createCurrencyList()
2301 UDate fromDate = (UDate)currDate64; in ucurr_countCurrencies() local
2313 if ((fromDate <= date) && (date < toDate)) in ucurr_countCurrencies()
2322 if (fromDate <= date) in ucurr_countCurrencies()
2425 UDate fromDate = (UDate)currDate64; in ucurr_forLocaleAndDate() local
2437 if ((fromDate <= date) && (date < toDate)) in ucurr_forLocaleAndDate()
2450 if (fromDate <= date) in ucurr_forLocaleAndDate()
/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/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/icu4c/source/common/unicode/
Ddtintrv.h45 DateInterval(UDate fromDate, UDate toDate);
136 UDate fromDate; variable
144 return fromDate; in getFromDate()
/external/icu/icu4c/source/i18n/
Dudateintervalformat.cpp80 UDate fromDate, in udtitvfmt_format() argument
105 DateInterval interval = DateInterval(fromDate,toDate); in udtitvfmt_format()
123 UDate fromDate, in udtitvfmt_formatToResult() argument
130 DateInterval interval = DateInterval(fromDate,toDate); in udtitvfmt_formatToResult()
/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/libandroidicu/include/unicode/
Dudateintervalformat.h249 UDate fromDate,
278 UDate fromDate,
/external/icu/icu4c/source/i18n/unicode/
Dudateintervalformat.h249 UDate fromDate,
278 UDate fromDate,
/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/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/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/protobuf/js/
Dproto3_test.js381 msg.fromDate(new Date(123456789));
386 var anotherMsg = proto.google.protobuf.Timestamp.fromDate(date);
/external/cldr/tools/java/org/unicode/cldr/test/
DTestMetazones.java153 long fromDate = DateRange.parse(from, false); in fillMetazoneData() local
158 DateRange range = new DateRange(fromDate, toDate); in fillMetazoneData()
/external/cldr/tools/java/org/unicode/cldr/tool/
DCLDRModify.java1325 int fromDate = 2008;
1359 … String tagString = leadingParenString + nf.format(fromDate) + separator + nf.format(toDate)
/external/icu/libandroidicu/static_shim/
Dshim.cpp1592 int32_t udtitvfmt_format_android(const UDateIntervalFormat * formatter, UDate fromDate, UDate toDat… in udtitvfmt_format_android() argument
1593 return udtitvfmt_format(formatter, fromDate, toDate, result, resultCapacity, position, status); in udtitvfmt_format_android()