| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IntervalConverter
IntervalConverter defines how an object is converted to an interval.
| Method Summary | |
|---|---|
 boolean | 
isReadableInterval(Object object,
                                     Chronology chrono)
Checks if the input is a ReadableInterval.  | 
 void | 
setInto(ReadWritableInterval writableInterval,
               Object object,
               Chronology chrono)
Extracts interval endpoint values from an object of this converter's type, and sets them into the given ReadWritableInterval.  | 
| Methods inherited from interface org.joda.time.convert.Converter | 
|---|
getSupportedType | 
| Method Detail | 
|---|
boolean isReadableInterval(Object object,
                           Chronology chrono)
If it is, then the calling code should cast and copy the fields directly.
object - the object to convert, must not be nullchrono - the chronology to use, may be null
ClassCastException - if the object is invalid
void setInto(ReadWritableInterval writableInterval,
             Object object,
             Chronology chrono)
writableInterval - interval to get modified, not nullobject - the object to convert, must not be nullchrono - the chronology to use, may be null
ClassCastException - if the object is invalid
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||