Home
last modified time | relevance | path

Searched refs:DateRange (Results 1 – 4 of 4) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/test/
DTestMetazones.java153 long fromDate = DateRange.parse(from, false); in fillMetazoneData()
156 long toDate = DateRange.parse(to, true); in fillMetazoneData()
158 DateRange range = new DateRange(fromDate, toDate); in fillMetazoneData()
197 DateRange overlap = value.range.getOverlap(value2.range); in checkMetazoneConsistency()
250 … + hours.format(startDelta / (double) HOUR) + " hours:\t" + DateRange.format(start) + "\tto\t" + in showDifferences()
251DateRange.format(end) + ";\ttotal:\t" + days.format((errorPeriod) / (double) DAY) + " days" in showDifferences()
274 …Long, Long>> getDifferencesOverRange(OlsonTimeZone zone1, OlsonTimeZone zone2, DateRange overlap) { in getDifferencesOverRange()
343 private void addTransitions(OlsonTimeZone zone1, DateRange overlap, Set<Long> list) { in addTransitions()
370 long last = DateRange.MIN_DATE; in checkGapsAndOverlaps()
378 checkGapOrOverlap(last, DateRange.MAX_DATE); in checkGapsAndOverlaps()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DVerifyZones.java26 import org.unicode.cldr.util.SupplementalDataInfo.DateRange;
140 if (metaZoneRange.dateRange.getTo() == DateRange.END_OF_TIME) {
DSupplementalDataInfo.java522 public static final class DateRange implements Comparable<DateRange> {
528 public DateRange(String fromString, String toString) {
594 public int compareTo(DateRange arg0) {
604 public static final Date END_OF_TIME = new Date(DateRange.END_OF_TIME);
605 public static final Date START_OF_TIME = new Date(DateRange.START_OF_TIME);
608 private DateRange dateRange;
614 this.dateRange = new DateRange(startDate, endDate);
651 return DateRange.formatDate(date.getTime());
657 public final DateRange dateRange;
668 dateRange = new DateRange(fromString, toString);
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestSupplementalInfo.java60 import org.unicode.cldr.util.SupplementalDataInfo.DateRange;
1852 if (range.dateRange.from != DateRange.START_OF_TIME) { in TestMetazones()
1855 if (range.dateRange.to != DateRange.END_OF_TIME) { in TestMetazones()