| java.lang.Object | |
| ↳ | org.joda.time.convert.MockZeroNullIntegerConverter |
A basic mock testing class for a converter. This converter returns zero and null for an Integer input.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| INSTANCE | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Extracts the chronology from an object of this converter's type
where the chronology may be specified.
| |||||||||||
Extracts the chronology from an object of this converter's type
where the time zone is specified.
| |||||||||||
Extracts the millis from an object of this converter's type.
| |||||||||||
Returns the object type that this converter supports, which may
specified by a class, superclass, abstract class, interface, or null.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.joda.time.convert.Converter
| |||||||||||
From interface
org.joda.time.convert.InstantConverter
| |||||||||||
Extracts the chronology from an object of this converter's type where the chronology may be specified.
If the chronology is non-null it should be used. If it is null, then the object should be queried, and if it has no chronology then ISO default is used.
| object | the object to convert |
|---|---|
| chrono | the chronology to use, null means use object |
Extracts the chronology from an object of this converter's type where the time zone is specified.
| object | the object to convert |
|---|---|
| zone | the specified zone to use, null means default zone |
Extracts the millis from an object of this converter's type.
The chronology passed in is the result of the call to getChronology.
| object | the object to convert |
|---|---|
| chrono | the chronology to use, which is the non-null result of getChronology() |
Returns the object type that this converter supports, which may specified by a class, superclass, abstract class, interface, or null.