Frames | No Frames |
Fields of type org.joda.time.Years | |
Years | Constant representing the maximum number of years that can be stored in this object. |
Years | Constant representing the minimum number of years that can be stored in this object. |
Years | Constant representing one year. |
Years | Constant representing three years. |
Years | Constant representing two years. |
Years | Constant representing zero years. |
Methods with parameter type org.joda.time.Years | |
boolean | Is this years instance greater than the specified number of years. |
boolean | Is this years instance less than the specified number of years. |
Years | Returns a new instance with the specified number of years taken away. |
Years | Returns a new instance with the specified number of years added. |
Methods with return type org.joda.time.Years | |
Years | Returns a new instance with the years divided by the specified divisor. |
Years | Returns a new instance with the specified number of years taken away. |
Years | Returns a new instance with the specified number of years taken away. |
Years | Years.multipliedBy(int scalar) Returns a new instance with the years multiplied by the specified scalar. |
Years | Returns a new instance with the years value negated. |
Years | Years.parseYears(String periodStr) Creates a new Years by parsing a string in the ISO8601 format 'PnY'. |
Years | Returns a new instance with the specified number of years added. |
Years | Returns a new instance with the specified number of years added. |
Years | Obtains an instance of Years that may be cached. |
Years | Creates a Years representing the number of whole years
between the two specified datetimes. |
Years | Creates a Years representing the number of whole years
between the two specified partial datetimes. |
Years | Creates a Years representing the number of whole years
in the specified interval. |