1 16 package org.joda.time; 17 18 43 public interface ReadableInterval { 44 45 50 Chronology getChronology(); 51 52 58 long getStartMillis(); 59 60 65 DateTime getStart(); 66 67 73 long getEndMillis(); 74 75 80 DateTime getEnd(); 81 82 103 boolean contains(ReadableInstant instant); 104 105 137 boolean contains(ReadableInterval interval); 138 139 180 boolean overlaps(ReadableInterval interval); 181 182 191 boolean isAfter(ReadableInstant instant); 192 193 201 boolean isAfter(ReadableInterval interval); 202 203 211 boolean isBefore(ReadableInstant instant); 212 213 221 boolean isBefore(ReadableInterval interval); 222 223 231 Interval toInterval(); 232 233 240 MutableInterval toMutableInterval(); 241 242 249 Duration toDuration(); 250 251 257 long toDurationMillis(); 258 259 268 Period toPeriod(); 269 270 280 Period toPeriod(PeriodType type); 281 282 294 boolean equals(Object readableInterval); 295 296 309 int hashCode(); 310 311 319 String toString(); 320 321 } 322 | Popular Tags |