Uses of Class
jsonvalues.JsInstant
Packages that use JsInstant
Package
Description
The `jsonvalues` package provides a set of classes and interfaces for working with JSON (JavaScript Object Notation)
data in a type-safe and structured manner.
This package contains a set of generators for creating JSON-like data structures using the `jsonvalues` library.
-
Uses of JsInstant in jsonvalues
Methods in jsonvalues that return JsInstantModifier and TypeMethodDescriptionApplies a function to the value of this JsInstant.static JsInstant
Creates a JsInstant from a string representation of an Instant.static JsInstant
Creates a JsInstant from an Instant.default JsInstant
JsValue.toJsInstant()
Returns this JsValue as a JsInstant.Methods in jsonvalues with parameters of type JsInstant -
Uses of JsInstant in jsonvalues.gen
Methods in jsonvalues.gen that return types with arguments of type JsInstantModifier and TypeMethodDescriptionJsInstantGen.apply
(RandomGenerator seed) static fun.gen.Gen
<JsInstant> JsInstantGen.arbitrary()
Returns a generator that produces values with a uniform distribution.static fun.gen.Gen
<JsInstant> JsInstantGen.arbitrary
(long min, long max) Returns a generator that produces values uniformly distributed over a specified time range.static fun.gen.Gen
<JsInstant> JsInstantGen.arbitrary
(ZonedDateTime min, ZonedDateTime max) Returns a generator that produces values uniformly distributed over a specified time range.static fun.gen.Gen
<JsInstant> JsInstantGen.biased()
Returns a biased generator that produces potential problematic values with a higher probability.static fun.gen.Gen
<JsInstant> JsInstantGen.biased
(long min, long max) Returns a biased instant generator that produces potential problematic values with a higher probability.static fun.gen.Gen
<JsInstant> Returns a biased generator that produces potential problematic values with a higher probability.static fun.gen.Gen
<JsInstant> JsInstantGen.biased
(ZonedDateTime min, ZonedDateTime max) Returns a biased generator that produces potential problematic values with a higher probability.