Home
last modified time | relevance | path

Searched refs:fromDate (Results 1 – 22 of 22) 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.cpp2099 UDate fromDate = U_DATE_MIN; in ucurr_createCurrencyList() local
2107 fromDate = (UDate)currDate64; in ucurr_createCurrencyList()
2129 entry->from = fromDate; in ucurr_createCurrencyList()
2315 UDate fromDate = (UDate)currDate64; in ucurr_countCurrencies() local
2327 if ((fromDate <= date) && (date < toDate)) in ucurr_countCurrencies()
2336 if (fromDate <= date) in ucurr_countCurrencies()
2438 UDate fromDate = (UDate)currDate64; in ucurr_forLocaleAndDate() local
2450 if ((fromDate <= date) && (date < toDate)) in ucurr_forLocaleAndDate()
2463 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()
DDateIntervalFormatTest.java2307 Date fromDate = (Date)testCase[0]; in testFormatMillisecond() local
2308 long from = fromDate.getTime() + (Integer)testCase[1]; in testFormatMillisecond()
/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()
DDateIntervalFormatTest.java2304 Date fromDate = (Date)testCase[0]; in testFormatMillisecond() local
2305 long from = fromDate.getTime() + (Integer)testCase[1]; in testFormatMillisecond()
/external/icu/libicu/cts_headers/unicode/
Ddtintrv.h45 DateInterval(UDate fromDate, UDate toDate);
136 UDate fromDate; variable
144 return fromDate; in getFromDate()
Dudateintervalformat.h247 UDate fromDate,
275 UDate fromDate,
/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/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/i18n/
Dudateintervalformat.cpp81 UDate fromDate, in udtitvfmt_format() argument
106 DateInterval interval = DateInterval(fromDate,toDate); in udtitvfmt_format()
123 UDate fromDate, in udtitvfmt_formatToResult() argument
131 DateInterval interval = DateInterval(fromDate,toDate); in udtitvfmt_formatToResult()
/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/libandroidicu/include/unicode/
Dudateintervalformat.h247 UDate fromDate,
275 UDate fromDate,
/external/icu/icu4c/source/i18n/unicode/
Dudateintervalformat.h247 UDate fromDate,
275 UDate fromDate,
/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/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.java1345 int fromDate = 2008;
1379 … String tagString = leadingParenString + nf.format(fromDate) + separator + nf.format(toDate)