Package-level declarations
Types
This class simply wraps a plain Clock.
Simple interface that allows implementors to provide a TickingValue for a given reference point.
Properties
Returns a Flow that emits ClockWrapper of Clock.System every time the system clock updates. Initially, a value is always emitted a first time, and it later waits for changes.
Returns a Flow that emits ClockWrapper of Clock.System every time the system clock updates. Initially, a value is always emitted a first time, and it later waits for changes.
Returns a Flow that emits ClockWrapper of Clock.System every time the system clock updates. Initially, a value is always emitted a first time, and it later waits for changes.
Returns a Flow that emits ClockWrapper of Clock.System every time the system clock updates. Initially, a value is always emitted a first time, and it later waits for changes.
Returns a Flow that emits the current system TimeZone every time it changes. Initially, the current system TimeZone is always emitted a first time.
Returns a Flow that emits the current system TimeZone every time it changes. Initially, the current system TimeZone is always emitted a first time.
Returns a Flow that emits the current system TimeZone every time it changes. Initially, the current system TimeZone is always emitted a first time.
Returns a Flow that emits the current system TimeZone every time it changes. Initially, the current system TimeZone is always emitted a first time.
Functions
Function that calls collector with the TickingValue.value calculated by this TickingValueProvider.provide each time there is a new value.
Combines two different TickingValues.
Transforms this TickingValue using the transform function. The resulting TickingValue.nextTick will be the min of the two, see also withNextTickAtMost.
Returns the current default locale (i.e. system locale)
Returns the current default locale (i.e. system locale)
Returns the current default locale (i.e. system locale)
Returns the current default locale (i.e. system locale)
Returns the PlatformLocale corresponding to the given Bcp47 tag.
Returns the PlatformLocale corresponding to the given Bcp47 tag.
Returns the PlatformLocale corresponding to the given Bcp47 tag.
Returns the PlatformLocale corresponding to the given Bcp47 tag.
Returns the PlatformLocale corresponding to the given Bcp47 tag.
Simple mapping function that returns a new TickingValueProvider that, upon TickingValueProvider.provide, calls transform with the result of provide and its reference point, and returns the output of transform.
Transforms the TickingValue.value from this instance from type T to R using transform and returns a new TickingValue with it and the same TickingValue.nextTick.
Uses the given clock and timeZone flows to compute the reference point passed to TickingValueProvider.provide and returns the resulting Flow. This function assumes that each Clock emitted by the clock flow moves forward linearly.
Returns a civil datetime value that this instant Zoned.value has in the specified Zoned.timeZone.
Returns a TickingValue with the same TickingValue.value and with the next tick being the min of its value and TickingValue.nextTick.