Example usage for Java org.joda.time Days fields, constructors, methods, implement or subclass
The text is from its open source code.
Days | ONE Constant representing one day. |
Days | TWO Constant representing two days. |
Days | THREE Constant representing three days. |
Days | FOUR Constant representing four days. |
Days | FIVE Constant representing five days. |
Days | SIX Constant representing six days. |
Days | SEVEN Constant representing seven days. |
Days(int days) Creates a new instance representing a number of days. |
int | compareTo(BaseSingleFieldPeriod other) Compares this period to another object of the same class. |
Days | daysBetween(ReadableInstant start, ReadableInstant end) Creates a Days representing the number of whole days between the two specified datetimes. |
Days | daysBetween(ReadablePartial start, ReadablePartial end) Creates a Days representing the number of whole days between the two specified partial datetimes. |
Days | daysIn(ReadableInterval interval) Creates a Days representing the number of whole days in the specified interval. |
int | getDays() Gets the number of days that this period represents. |
boolean | isGreaterThan(Days other) Is this days instance greater than the specified number of days. |
Days | parseDays(String periodStr) Creates a new Days by parsing a string in the ISO8601 format 'PnD'. |
Days | standardDaysIn(ReadablePeriod period) Creates a new Days representing the number of complete standard length days in the specified period. |
Hours | toStandardHours() Converts this period in days to a period in hours assuming a 24 hour day. |
Minutes | toStandardMinutes() Converts this period in days to a period in minutes assuming a 24 hour day and 60 minute hour. |
Weeks | toStandardWeeks() Converts this period in days to a period in weeks assuming a 7 day week. |