Uses of Interface
net.time4j.engine.Normalizer
Packages that use Normalizer
Package
Description
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment.-
Uses of Normalizer in net.time4j
Classes in net.time4j that implement NormalizerModifier and TypeClassDescriptionclassRepresents a plain calendar date in conformance to ISO-8601-standard using the gregorian calendar rules for all times.classRepresents a plain composition of calendar date and wall time as defined in ISO-8601, but without any timezone.Fields in net.time4j declared as NormalizerModifier and TypeFieldDescriptionstatic Normalizer<CalendarUnit>Duration.STD_CALENDAR_PERIODNormalizes the calendrical items of a duration on the base1 year = 12 months- without converting the days to months.static Normalizer<ClockUnit>Duration.STD_CLOCK_PERIODNormalizes the wall time items of a duration on the base1 day = 24 hoursund1 hour = 60 minutesand1 minute = 60 seconds.static Normalizer<IsoUnit>Duration.STD_PERIODNormalizes the duration items on the base of1 year = 12 monthsand1 day = 24 hoursand1 hour = 60 minutesand1 minute = 60 seconds- without converting days to months.Methods in net.time4j that return NormalizerModifier and TypeMethodDescriptionstatic Normalizer<IsoUnit>Duration.approximateHours(int steps)Yields an approximate normalizer in steps of hours which finally uses years, months, days and rounded hours.static Normalizer<IsoUnit>Duration.approximateMaxUnitOnly()Creates a normalizer which yields an approximate duration based on the maximum relevant unit of the original duration (but not smaller than seconds).static Normalizer<IsoUnit>Duration.approximateMaxUnitOrWeeks()LikeapproximateMaxUnitOnly()but can create week-based durations if the count of days is bigger than6.static Normalizer<IsoUnit>Duration.approximateMinutes(int steps)Yields an approximate normalizer in steps of minutes which finally uses years, months, days, hours and rounded minutes.static Normalizer<IsoUnit>Duration.approximateSeconds(int steps)Yields an approximate normalizer in steps of seconds which finally uses years, months, days, hours, minutes and rounded seconds.ClockUnit.only()Yields a normalizer which converts a given duration in another duration with only this clock unit.ClockUnit.rounded()Yields a normalizer which converts a given duration in another normalized duration with smaller units truncated and this unit rounded.ClockUnit.truncated()Yields a normalizer which converts a given duration in another duration with smaller units truncated.Methods in net.time4j with parameters of type NormalizerModifier and TypeMethodDescriptionDuration.with(Normalizer<U> normalizer)Normalizes this duration by given normalizer.