Example usage for Java org.joda.time.field FieldUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
int | safeAdd(int val1, int val2) Add two values throwing an exception if overflow occurs. |
long | safeAdd(long val1, long val2) Add two values throwing an exception if overflow occurs. |
int | safeMultiply(int val1, int val2) Multiply two values throwing an exception if overflow occurs. |
long | safeMultiply(long val1, int val2) Multiply two values throwing an exception if overflow occurs. |
long | safeMultiply(long val1, long val2) Multiply two values throwing an exception if overflow occurs. |
int | safeMultiplyToInt(long val1, long val2) Multiply two values to return an int throwing an exception if overflow occurs. |
int | safeNegate(int value) Negates the input throwing an exception if it can't negate it. |
int | safeToInt(long value) Casts to an int throwing an exception if overflow occurs. |