Java org.joda.time Minutes fields, constructors, methods, implement or subclass

Example usage for Java org.joda.time Minutes fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.joda.time Minutes.

The text is from its open source code.

Field

MinutesONE
Constant representing one minute.
MinutesTWO
Constant representing two minutes.
MinutesTHREE
Constant representing three minutes.

Constructor

Minutes(int minutes)
Creates a new instance representing a number of minutes.

Method

MinutesdividedBy(int divisor)
Returns a new instance with the minutes divided by the specified divisor.
intgetMinutes()
Gets the number of minutes that this period represents.
booleanisGreaterThan(Minutes other)
Is this minutes instance greater than the specified number of minutes.
booleanisLessThan(Minutes other)
Is this minutes instance less than the specified number of minutes.
Minutesminus(int minutes)
Returns a new instance with the specified number of minutes taken away.
Minutesminus(Minutes minutes)
Returns a new instance with the specified number of minutes taken away.
MinutesminutesBetween(ReadableInstant start, ReadableInstant end)
Creates a Minutes representing the number of whole minutes between the two specified datetimes.
MinutesminutesBetween(ReadablePartial start, ReadablePartial end)
Creates a Minutes representing the number of whole minutes between the two specified partial datetimes.
MinutesminutesIn(ReadableInterval interval)
Creates a Minutes representing the number of whole minutes in the specified interval.
MinutesmultipliedBy(int scalar)
Returns a new instance with the minutes multiplied by the specified scalar.
MinutesparseMinutes(String periodStr)
Creates a new Minutes by parsing a string in the ISO8601 format 'PTnM'.
DaystoStandardDays()
Converts this period in minutes to a period in days assuming a 24 hour day and 60 minute hour.
HourstoStandardHours()
Converts this period in minutes to a period in hours assuming a 60 minute hour.
SecondstoStandardSeconds()
Converts this period in minutes to a period in seconds assuming a 60 second minute.
WeekstoStandardWeeks()
Converts this period in minutes to a period in weeks assuming a 7 days week, 24 hour day and 60 minute hour.
StringtoString()
Gets this instance as a String in the ISO8601 duration format.