Built-in conversion
All 101 scenarios passing
- Characters, booleans, and enums
-
Dates and times
- Converts a date and a time joined with T to LocalDateTime
- Converts a date-time carrying an offset from UTC to OffsetDateTime
- Converts a date-time that may name a region id in brackets to ZonedDateTime
- Converts a four-digit calendar year to Year
- Converts a month and day written with two leading hyphens to MonthDay
- Converts a region name, UTC, or a fixed offset to ZoneId
- Converts a time of day with an offset from UTC to OffsetTime
- Converts a UTC timestamp written with a trailing Z to Instant
- Converts a year and a month to YearMonth
- Converts an offset from UTC on its own to ZoneOffset, with Z meaning none
- Converts ISO-8601 date text to LocalDate
- Converts ISO-8601 duration text to Duration
- Converts ISO-8601 period text to Period
- Converts ISO-8601 time text to LocalTime, with optional fractional seconds
- Files and addresses
-
Numbers
- Converts a whole number in the 16-bit signed range to short
- Converts a whole number in the 32-bit signed range to int
- Converts a whole number in the 64-bit signed range to long
- Converts a whole number in the 8-bit signed range to byte
- Converts decimal text to BigDecimal, keeping the precision written
- Converts plain or scientific notation to double
- Converts plain or scientific notation to float
- Converts whole numbers beyond the long range to BigInteger
- Platform value types