Uses of Class org.joda.time.Hours

Uses in package org.joda.time

Fields of type org.joda.time.Hours

Hours
Constant representing eight hours.
Hours
Constant representing five hours.
Hours
Constant representing four hours.
Hours
Constant representing the maximum number of hours that can be stored in this object.
Hours
Constant representing the minimum number of hours that can be stored in this object.
Hours
Constant representing one hour.
Hours
Constant representing seven hours.
Hours
Constant representing six hours.
Hours
Constant representing three hours.
Hours
Constant representing two hours.
Hours
Constant representing zero hours.

Methods with parameter type org.joda.time.Hours

boolean
Is this hours instance greater than the specified number of hours.
boolean
Is this hours instance less than the specified number of hours.
Hours
Hours.minus(Hours hours)
Returns a new instance with the specified number of hours taken away.
Hours
Hours.plus(Hours hours)
Returns a new instance with the specified number of hours added.

Methods with return type org.joda.time.Hours

Hours
Hours.dividedBy(int divisor)
Returns a new instance with the hours divided by the specified divisor.
Hours
Hours.hours(int hours)
Obtains an instance of Hours that may be cached.
Hours
Creates a Hours representing the number of whole hours between the two specified datetimes.
Hours
Creates a Hours representing the number of whole hours between the two specified partial datetimes.
Hours
Creates a Hours representing the number of whole hours in the specified interval.
Hours
Hours.minus(int hours)
Returns a new instance with the specified number of hours taken away.
Hours
Hours.minus(Hours hours)
Returns a new instance with the specified number of hours taken away.
Hours
Hours.multipliedBy(int scalar)
Returns a new instance with the hours multiplied by the specified scalar.
Hours
Returns a new instance with the hours value negated.
Hours
Hours.parseHours(String periodStr)
Creates a new Hours by parsing a string in the ISO8601 format 'PTnH'.
Hours
Hours.plus(int hours)
Returns a new instance with the specified number of hours added.
Hours
Hours.plus(Hours hours)
Returns a new instance with the specified number of hours added.
Hours
Creates a new Hours representing the number of complete standard length hours in the specified period.
Hours
Converts this period in days to a period in hours assuming a 24 hour day.
Hours
Converts this period in minutes to a period in hours assuming a 60 minute hour.
Hours
Converts this period to a period in hours assuming a 7 day week, 24 hour day, 60 minute hour and 60 second minute.
Hours
Converts this period in seconds to a period in hours assuming a 60 minute hour and 60 second minute.
Hours
Converts this period in weeks to a period in hours assuming a 7 day week and 24 hour day.

Copyright (c) 2001-2006 - Joda.org