| java.lang.Object | ||
| ↳ | org.joda.time.DurationField | |
| ↳ | org.joda.time.field.UnsupportedDurationField | |
A placeholder implementation to use when a duration field is not supported.
UnsupportedDurationField is thread-safe and immutable.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Always throws UnsupportedOperationException
| |||||||||||
Always throws UnsupportedOperationException
| |||||||||||
Always returns zero, indicating that sort order is not relevent.
| |||||||||||
Compares this duration field to another.
| |||||||||||
Always throws UnsupportedOperationException
| |||||||||||
Always throws UnsupportedOperationException
| |||||||||||
Gets an instance of UnsupportedDurationField for a specific named field.
| |||||||||||
Always throws UnsupportedOperationException
| |||||||||||
Always throws UnsupportedOperationException
| |||||||||||
Always throws UnsupportedOperationException
| |||||||||||
Always throws UnsupportedOperationException
| |||||||||||
Get the name of the field.
| |||||||||||
Get the type of the field.
| |||||||||||
Always returns zero.
| |||||||||||
Always throws UnsupportedOperationException
| |||||||||||
Always throws UnsupportedOperationException
| |||||||||||
Always throws UnsupportedOperationException
| |||||||||||
Always throws UnsupportedOperationException
| |||||||||||
Gets a suitable hashcode.
| |||||||||||
This field is precise.
| |||||||||||
This field is not supported.
| |||||||||||
Get a suitable debug string.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.joda.time.DurationField
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
| |||||||||||
Always throws UnsupportedOperationException
| instant | the milliseconds from 1970-01-01T00:00:00Z to add to |
|---|---|
| value | the value to add, in the units of the field |
Always throws UnsupportedOperationException
| instant | the milliseconds from 1970-01-01T00:00:00Z to add to |
|---|---|
| value | the value to add, in the units of the field |
Always returns zero, indicating that sort order is not relevent.
| durationField | a duration field to check against |
|---|
Compares this duration field to another.
| obj | the object to compare to |
|---|
Always throws UnsupportedOperationException
| minuendInstant | the milliseconds from 1970-01-01T00:00:00Z to subtract from |
|---|---|
| subtrahendInstant | the milliseconds from 1970-01-01T00:00:00Z to subtract off the minuend |
Always throws UnsupportedOperationException
| minuendInstant | the milliseconds from 1970-01-01T00:00:00Z to subtract from |
|---|---|
| subtrahendInstant | the milliseconds from 1970-01-01T00:00:00Z to subtract off the minuend |
Gets an instance of UnsupportedDurationField for a specific named field. The returned instance is cached.
| type | the type to obtain |
|---|
Always throws UnsupportedOperationException
| value | the value of the field, which may be negative |
|---|---|
| instant | the instant to calculate relative to |
Always throws UnsupportedOperationException
| value | the value of the field, which may be negative |
|---|
Always throws UnsupportedOperationException
| value | the value of the field, which may be negative |
|---|---|
| instant | the instant to calculate relative to |
Always throws UnsupportedOperationException
| value | the value of the field, which may be negative |
|---|
Get the name of the field.
By convention, names are plural.
Always returns zero.
Always throws UnsupportedOperationException
| duration | the milliseconds to query, which may be negative |
|---|
Always throws UnsupportedOperationException
| duration | the milliseconds to query, which may be negative |
|---|---|
| instant | the start instant to calculate relative to |
Always throws UnsupportedOperationException
| duration | the milliseconds to query, which may be negative |
|---|
Always throws UnsupportedOperationException
| duration | the milliseconds to query, which may be negative |
|---|---|
| instant | the start instant to calculate relative to |
Gets a suitable hashcode.
This field is precise.
This field is not supported.