Inheritance diagram for JodaPeriod:
Collaboration diagram for JodaPeriod:Public Methods | |
| JodaPeriod (Period period) | |
| JodaPeriod () | |
| JodaPeriod (Period period, Set< String > misc) | |
| long | getMillis () |
| String | getISOCode () |
| String | getLabel () |
| void | setLabel (String label) |
| long | getId () |
| void | setId (long id) |
| JodaPeriod | ( | Period | period | ) |
| JodaPeriod | ( | ) |
| JodaPeriod | ( | Period | period, |
| Set< String > | misc | ||
| ) |
| long getId | ( | ) | [inherited] |
Returns the Id of this DataObject. Might return 0, if the object hasn't been inserted into database yet.
Implements DataObject.
| String getISOCode | ( | ) |
Implements ITimex.
| String getLabel | ( | ) |
Returns the label of this token, which can be any kind of string (except null), mainly used for display-reasons only. Note: Components MUST NOT assume that any kind of label (like 'word' or else) is returned by this method.
Reimplemented from Timex.
| long getMillis | ( | ) |
Implements IPeriod.
| void setId | ( | long | id | ) | [inherited] |
| void setLabel | ( | String | label | ) | [inherited] |