Example usage for Java org.joda.time Partial fields, constructors, methods, implement or subclass
The text is from its open source code.
Partial(DateTimeFieldType type, int value) Constructs a Partial with the specified field and value. | |
Partial(DateTimeFieldType[] types, int[] values) Constructs a Partial with the specified fields and values. | |
Partial(Partial partial, int[] values) Constructs a Partial with the specified values. | |
Partial() Constructs a Partial with no fields or values, which can be considered to represent any date. | |
Partial(Chronology chrono) Constructs a Partial with no fields or values, which can be considered to represent any date. | |
Partial(ReadablePartial partial) Constructs a Partial by copying all the fields and types from another partial. | |
Partial(DateTimeFieldType type, int value, Chronology chronology) Constructs a Partial with the specified field and value. | |
Partial(DateTimeFieldType[] types, int[] values, Chronology chronology) Constructs a Partial with the specified fields and values. | |
Partial(Chronology chronology, DateTimeFieldType[] types, int[] values) Constructs a Partial with the specified chronology, fields and values. |
int | compareTo(ReadablePartial other) Compares this partial with another returning an integer indicating the order. |
int | get(DateTimeFieldType type) Get the value of one of the fields of a datetime. |
Chronology | getChronology() Gets the chronology of the partial which is never null. |
DateTimeFieldType[] | getFieldTypes() Gets an array of the field type of each of the fields that this partial supports. |
int[] | getValues() Gets an array of the value of each of the fields that this partial supports. |
boolean | isAfter(ReadablePartial partial) Is this partial later than the specified partial. |
Partial | plus(ReadablePeriod period) Gets a copy of this instance with the specified period added. |
DateTime | toDateTime(ReadableInstant baseInstant) Resolves this partial against another complete instant to create a new full instant. |
String | toString(String pattern) Output the date using the specified format pattern. |