Uses of Class
org.joda.time.Days
Packages that use Days
Package
Description
Provides support for dates, times, time zones, durations, intervals, and
partials.
-
Uses of Days in org.joda.time
Fields in org.joda.time declared as DaysModifier and TypeFieldDescriptionstatic final DaysDays.FIVEConstant representing five days.static final DaysDays.FOURConstant representing four days.static final DaysDays.MAX_VALUEConstant representing the maximum number of days that can be stored in this object.static final DaysDays.MIN_VALUEConstant representing the minimum number of days that can be stored in this object.static final DaysDays.ONEConstant representing one day.static final DaysDays.SEVENConstant representing seven days.static final DaysDays.SIXConstant representing six days.static final DaysDays.THREEConstant representing three days.static final DaysDays.TWOConstant representing two days.static final DaysDays.ZEROConstant representing zero days.Methods in org.joda.time that return DaysModifier and TypeMethodDescriptionstatic DaysDays.days(int days) Obtains an instance ofDaysthat may be cached.static DaysDays.daysBetween(ReadableInstant start, ReadableInstant end) Creates aDaysrepresenting the number of whole days between the two specified datetimes.static DaysDays.daysBetween(ReadablePartial start, ReadablePartial end) Creates aDaysrepresenting the number of whole days between the two specified partial datetimes.static DaysDays.daysIn(ReadableInterval interval) Creates aDaysrepresenting the number of whole days in the specified interval.Days.dividedBy(int divisor) Returns a new instance with the days divided by the specified divisor.Days.minus(int days) Returns a new instance with the specified number of days taken away.Returns a new instance with the specified number of days taken away.Days.multipliedBy(int scalar) Returns a new instance with the days multiplied by the specified scalar.Days.negated()Returns a new instance with the days value negated.static DaysCreates a newDaysby parsing a string in the ISO8601 format 'PnD'.Days.plus(int days) Returns a new instance with the specified number of days added.Returns a new instance with the specified number of days added.static DaysDays.standardDaysIn(ReadablePeriod period) Creates a newDaysrepresenting the number of complete standard length days in the specified period.Duration.toStandardDays()Converts this duration to a period in days assuming that there are the standard number of milliseconds in a day.Hours.toStandardDays()Converts this period in hours to a period in days assuming a 24 hour day.Minutes.toStandardDays()Converts this period in minutes to a period in days assuming a 24 hour day and 60 minute hour.Period.toStandardDays()Converts this period to a period in days assuming a 7 day week, 24 hour day, 60 minute hour and 60 second minute.Seconds.toStandardDays()Converts this period in seconds to a period in days assuming a 24 hour day, 60 minute hour and 60 second minute.Weeks.toStandardDays()Converts this period in weeks to a period in days assuming a 7 day week.Methods in org.joda.time with parameters of type DaysModifier and TypeMethodDescriptionbooleanDays.isGreaterThan(Days other) Is this days instance greater than the specified number of days.booleanDays.isLessThan(Days other) Is this days instance less than the specified number of days.Returns a new instance with the specified number of days taken away.Returns a new instance with the specified number of days added.