Uses of Class
net.time4j.Duration.Builder
Package
Description
The main package contains four basic types of ISO-8601, namely
PlainDate
, PlainTime
, PlainTimestamp
and Moment
.-
Uses of Duration.Builder in net.time4j
Modifier and TypeMethodDescriptionDuration.Builder.days(int num)
Adds a day item.Duration.Builder.hours(int num)
Adds a hour item.Duration.Builder.micros(int num)
Adds a microsecond item.Duration.Builder.millis(int num)
Adds a millisecond item.Duration.Builder.minutes(int num)
Adds a minute item.Duration.Builder.months(int num)
Adds a month item.Duration.Builder.nanos(int num)
Adds a nanosecond item.static Duration.Builder
Duration.ofNegative()
Konstructs a new negative duration for combined date- and time items by applying the builder pattern.static Duration.Builder
Duration.ofPositive()
Konstructs a new positive duration for combined date- and time items by applying the builder pattern.Duration.Builder.seconds(int num)
Adds a second item.Duration.Builder.years(int num)
Adds a year item.