Package-level declarations

Types

Link copied to clipboard

Boolean<->String: format via toString; parse accepts exactly "true"/"false".

Link copied to clipboard

Byte<->Boolean: no canonical semantics in either direction.

Link copied to clipboard

Byte<->String: format via toString, strict decimal parse.

Link copied to clipboard

Double<->Boolean: no canonical semantics in either direction.

Link copied to clipboard

Double<->Byte: widens Byte -> Double exactly; refuses the lossy direction.

Link copied to clipboard

Double<->Float: widens Float -> Double exactly; refuses the lossy direction.

Link copied to clipboard

Double<->Int: widens Int -> Double exactly; refuses the lossy direction.

Link copied to clipboard

Double<->Long: no safe direction — both refuse with a guiding reason.

Link copied to clipboard

Double<->Short: widens Short -> Double exactly; refuses the lossy direction.

Link copied to clipboard

Double<->String: format via toString; parse via toDouble() (platform semantics — JVM accepts surrounding whitespace, f/d suffixes, and hex floats; the integer parses above are strict-decimal).

Link copied to clipboard

Duration<-> whole-milliseconds Long. Sub-millisecond precision truncates on the way out — the same trade-off as InstantLongConverter (millis are the de-facto wire unit).

Link copied to clipboard

Duration<-> ISO-8601 String ("PT1H30M"). Format via Duration.toIsoString, parse via Duration.parseIsoString — strict ISO only; Kotlin's lenient "1h 30m" form is rejected (wire formats want one canonical representation).

Link copied to clipboard

Float<->Boolean: no canonical semantics in either direction.

Link copied to clipboard

Float<->Byte: widens Byte -> Float exactly; refuses the lossy direction.

Link copied to clipboard

Float<->Int: no safe direction — both refuse with a guiding reason.

Link copied to clipboard

Float<->Long: no safe direction — both refuse with a guiding reason.

Link copied to clipboard

Float<->Short: widens Short -> Float exactly; refuses the lossy direction.

Link copied to clipboard

Float<->String: format via toString; parse via toFloat() (platform semantics — JVM accepts surrounding whitespace, f/d suffixes, and hex floats; the integer parses above are strict-decimal).

Link copied to clipboard

Instant<-> epoch-milliseconds Long. Sub-millisecond precision truncates on the way out.

Link copied to clipboard

Instant<-> ISO-8601 String: format via toString, parse via Instant.parse.

Link copied to clipboard

Int<->Boolean: no canonical semantics in either direction.

Link copied to clipboard

Int<->Byte: widens Byte -> Int; refuses the narrowing direction.

Link copied to clipboard

Int<->Short: widens Short -> Int; refuses the narrowing direction.

Link copied to clipboard

Int<->String: format via toString, strict decimal parse.

Link copied to clipboard

LocalDate<-> ISO-8601 String ("2026-06-12"). Parse throws on malformed input.

Link copied to clipboard

LocalDateTime<-> ISO-8601 String ("2026-06-12T09:30:00"). Parse throws on malformed input.

Link copied to clipboard

LocalTime<-> ISO-8601 String ("09:30:00"). Parse throws on malformed input.

Link copied to clipboard

Long<->Boolean: no canonical semantics in either direction.

Link copied to clipboard

Long<->Byte: widens Byte -> Long; refuses the narrowing direction.

Link copied to clipboard

Long<->Int: widens Int -> Long; refuses the narrowing direction.

Link copied to clipboard

Long<->Short: widens Short -> Long; refuses the narrowing direction.

Link copied to clipboard

Long<->String: format via toString, strict decimal parse.

Link copied to clipboard

Short<->Boolean: no canonical semantics in either direction.

Link copied to clipboard

Short<->Byte: widens Byte -> Short; refuses the narrowing direction.

Link copied to clipboard

Short<->String: format via toString, strict decimal parse.