tuweni / org.apache.tuweni.toml / TomlTable / isOffsetDateTime

isOffsetDateTime

open fun isOffsetDateTime(dottedKey: String): Boolean (source)

Check if a value in the TOML document is an OffsetDateTime.

Parameters

dottedKey - A dotted key (e.g. "server.address.port").

Exceptions

IllegalArgumentException - If the key cannot be parsed.

Return
true if the value can be obtained as an OffsetDateTime.

open fun isOffsetDateTime(path: MutableList<String>): Boolean (source)

Check if a value in the TOML document is an OffsetDateTime.

Parameters

path - The key path.

Return
true if the value can be obtained as an OffsetDateTime.