Example usage for Java org.joda.time Seconds fields, constructors, methods, implement or subclass
The text is from its open source code.
Seconds | ONE Constant representing one second. |
Seconds(int seconds) Creates a new instance representing a number of seconds. |
int | compareTo(BaseSingleFieldPeriod other) Compares this period to another object of the same class. |
int | getSeconds() Gets the number of seconds that this period represents. |
Seconds | parseSeconds(String periodStr) Creates a new Seconds by parsing a string in the ISO8601 format 'PTnS'. |
Seconds | secondsBetween(ReadableInstant start, ReadableInstant end) Creates a Seconds representing the number of whole seconds between the two specified datetimes. |
Seconds | secondsBetween(ReadablePartial start, ReadablePartial end) Creates a Seconds representing the number of whole seconds between the two specified partial datetimes. |
Seconds | secondsIn(ReadableInterval interval) Creates a Seconds representing the number of whole seconds in the specified interval. |