Example usage for Java org.joda.time Minutes fields, constructors, methods, implement or subclass
The text is from its open source code.
Minutes | ONE Constant representing one minute. |
Minutes | TWO Constant representing two minutes. |
Minutes | THREE Constant representing three minutes. |
Minutes(int minutes) Creates a new instance representing a number of minutes. |
Minutes | dividedBy(int divisor) Returns a new instance with the minutes divided by the specified divisor. |
int | getMinutes() Gets the number of minutes that this period represents. |
boolean | isGreaterThan(Minutes other) Is this minutes instance greater than the specified number of minutes. |
boolean | isLessThan(Minutes other) Is this minutes instance less than the specified number of minutes. |
Minutes | minus(int minutes) Returns a new instance with the specified number of minutes taken away. |
Minutes | minus(Minutes minutes) Returns a new instance with the specified number of minutes taken away. |
Minutes | minutesBetween(ReadableInstant start, ReadableInstant end) Creates a Minutes representing the number of whole minutes between the two specified datetimes. |
Minutes | minutesBetween(ReadablePartial start, ReadablePartial end) Creates a Minutes representing the number of whole minutes between the two specified partial datetimes. |
Minutes | minutesIn(ReadableInterval interval) Creates a Minutes representing the number of whole minutes in the specified interval. |
Minutes | multipliedBy(int scalar) Returns a new instance with the minutes multiplied by the specified scalar. |
Minutes | parseMinutes(String periodStr) Creates a new Minutes by parsing a string in the ISO8601 format 'PTnM'. |
Days | toStandardDays() Converts this period in minutes to a period in days assuming a 24 hour day and 60 minute hour. |
Hours | toStandardHours() Converts this period in minutes to a period in hours assuming a 60 minute hour. |
Seconds | toStandardSeconds() Converts this period in minutes to a period in seconds assuming a 60 second minute. |
Weeks | toStandardWeeks() Converts this period in minutes to a period in weeks assuming a 7 days week, 24 hour day and 60 minute hour. |
String | toString() Gets this instance as a String in the ISO8601 duration format. |