/* */ public Duration newDurationYearMonth(long durationInMilliseconds) /* */ { /* 615 */ Duration fullDuration = newDuration(durationInMilliseconds); /* 616 */ boolean isPositive = fullDuration.getSign() != -1; /* 617 */ BigInteger years = (BigInteger) fullDuration.getField(DatatypeConstants.YEARS); /* */ /* 619 */ if (years == null) years = BigInteger.ZERO; /* 620 */ BigInteger months = (BigInteger) fullDuration.getField(DatatypeConstants.MONTHS); /* */ /* 622 */ if (months == null) months = BigInteger.ZERO; /* */ /* 624 */ return newDurationYearMonth(isPositive, years, months); /* */ }