Uses of Class
org.joda.time.Minutes
Packages that use Minutes
Package
Description
Provides support for dates, times, time zones, durations, intervals, and
partials.
-
Uses of Minutes in org.joda.time
Fields in org.joda.time declared as MinutesModifier and TypeFieldDescriptionstatic final Minutes
Minutes.MAX_VALUE
Constant representing the maximum number of minutes that can be stored in this object.static final Minutes
Minutes.MIN_VALUE
Constant representing the minimum number of minutes that can be stored in this object.static final Minutes
Minutes.ONE
Constant representing one minute.static final Minutes
Minutes.THREE
Constant representing three minutes.static final Minutes
Minutes.TWO
Constant representing two minutes.static final Minutes
Minutes.ZERO
Constant representing zero minutes.Methods in org.joda.time that return MinutesModifier and TypeMethodDescriptionMinutes.dividedBy
(int divisor) Returns a new instance with the minutes divided by the specified divisor.Minutes.minus
(int minutes) Returns a new instance with the specified number of minutes taken away.Returns a new instance with the specified number of minutes taken away.static Minutes
Minutes.minutes
(int minutes) Obtains an instance ofMinutes
that may be cached.static Minutes
Minutes.minutesBetween
(ReadableInstant start, ReadableInstant end) Creates aMinutes
representing the number of whole minutes between the two specified datetimes.static Minutes
Minutes.minutesBetween
(ReadablePartial start, ReadablePartial end) Creates aMinutes
representing the number of whole minutes between the two specified partial datetimes.static Minutes
Minutes.minutesIn
(ReadableInterval interval) Creates aMinutes
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.negated()
Returns a new instance with the minutes value negated.static Minutes
Minutes.parseMinutes
(String periodStr) Creates a newMinutes
by parsing a string in the ISO8601 format 'PTnM'.Minutes.plus
(int minutes) Returns a new instance with the specified number of minutes added.Returns a new instance with the specified number of minutes added.static Minutes
Minutes.standardMinutesIn
(ReadablePeriod period) Creates a newMinutes
representing the number of complete standard length minutes in the specified period.Days.toStandardMinutes()
Converts this period in days to a period in minutes assuming a 24 hour day and 60 minute hour.Duration.toStandardMinutes()
Converts this duration to a period in minutes assuming that there are the standard number of milliseconds in a minute.Hours.toStandardMinutes()
Converts this period in hours to a period in minutes assuming a 60 minute hour.Period.toStandardMinutes()
Converts this period to a period in minutes assuming a 7 day week, 24 hour day, 60 minute hour and 60 second minute.Seconds.toStandardMinutes()
Converts this period in seconds to a period in minutes assuming a 60 second minute.Weeks.toStandardMinutes()
Converts this period in weeks to a period in minutes assuming a 7 day week, 24 hour day and 60 minute hour.Methods in org.joda.time with parameters of type MinutesModifier and TypeMethodDescriptionboolean
Minutes.isGreaterThan
(Minutes other) Is this minutes instance greater than the specified number of minutes.boolean
Minutes.isLessThan
(Minutes other) Is this minutes instance less than the specified number of minutes.Returns a new instance with the specified number of minutes taken away.Returns a new instance with the specified number of minutes added.