protected fun BasePeriod(duration: Long) { super() iType = PeriodType.standard() val values: IntArray = ISOChronology.getInstanceUTC().get(DUMMY_PERIOD, duration) iValues = IntArray(8) System.arraycopy(values, 0, iValues, 4, 4) }
Creates a period from the given millisecond duration with the standard period type and ISO rules , ensuring that the calculation is performed with the time-only period type . < p > The calculation uses the hour , minute , second and millisecond fields .