Example usage for Java org.joda.time Hours fields, constructors, methods, implement or subclass
The text is from its open source code.
Hours | ONE Constant representing one hour. |
Hours | THREE Constant representing three hours. |
Hours | EIGHT Constant representing eight hours. |
Hours(int hours) Creates a new instance representing a number of hours. |
int | getHours() Gets the number of hours that this period represents. |
Hours | hoursBetween(ReadableInstant start, ReadableInstant end) Creates a Hours representing the number of whole hours between the two specified datetimes. |
Hours | hoursBetween(ReadablePartial start, ReadablePartial end) Creates a Hours representing the number of whole hours between the two specified partial datetimes. |
Hours | hoursIn(ReadableInterval interval) Creates a Hours representing the number of whole hours in the specified interval. |
Hours | parseHours(String periodStr) Creates a new Hours by parsing a string in the ISO8601 format 'PTnH'. |
Minutes | toStandardMinutes() Converts this period in hours to a period in minutes assuming a 60 minute hour. |
Seconds | toStandardSeconds() Converts this period in hours to a period in seconds assuming a 60 minute hour and 60 second minute. |