1 16 package org.joda.time; 17 18 44 public interface ReadablePeriod { 45 46 51 PeriodType getPeriodType(); 52 53 58 int size(); 59 60 67 DurationFieldType getFieldType(int index); 68 69 76 int getValue(int index); 77 78 87 int get(DurationFieldType field); 88 89 95 boolean isSupported(DurationFieldType field); 96 97 105 Period toPeriod(); 106 107 114 MutablePeriod toMutablePeriod(); 115 116 138 boolean equals(Object readablePeriod); 139 140 154 int hashCode(); 155 156 165 String toString(); 166 167 } 168 | Popular Tags |