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 Normalizer
    Modifier and Type
    Class
    Description
    class 
    Represents a plain calendar date in conformance to ISO-8601-standard using the gregorian calendar rules for all times.
    class 
    Represents a plain composition of calendar date and wall time as defined in ISO-8601, but without any timezone.
    Fields in net.time4j declared as Normalizer
    Modifier and Type
    Field
    Description
    Normalizes the calendrical items of a duration on the base 1 year = 12 months - without converting the days to months.
    Normalizes the wall time items of a duration on the base 1 day = 24 hours und 1 hour = 60 minutes and 1 minute = 60 seconds.
    Duration.STD_PERIOD
    Normalizes the duration items on the base of 1 year = 12 months and 1 day = 24 hours and 1 hour = 60 minutes and 1 minute = 60 seconds - without converting days to months.
    Methods in net.time4j that return Normalizer
    Modifier and Type
    Method
    Description
    Duration.approximateHours​(int steps)
    Yields an approximate normalizer in steps of hours which finally uses years, months, days and rounded hours.
    Creates a normalizer which yields an approximate duration based on the maximum relevant unit of the original duration (but not smaller than seconds).
    Like approximateMaxUnitOnly() but can create week-based durations if the count of days is bigger than 6.
    Duration.approximateMinutes​(int steps)
    Yields an approximate normalizer in steps of minutes which finally uses years, months, days, hours and rounded minutes.
    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 Normalizer
    Modifier and Type
    Method
    Description
    Duration.with​(Normalizer<U> normalizer)
    Normalizes this duration by given normalizer.