code fix
by
mrglavas
:

Fixed bugs which could cause NullPointerExceptions to be thrown from the default
implementations of Duration.getYears(), Duration.getMonths(), etc...