getLocalDateTimeOrNull

Gets a TomlLocalDateTime with index from this TomlArray. If the element does not exist, or it is not a TomlLiteral, or it cannot be converted to a TomlLocalDateTime, this returns null.


Gets a TomlLocalDateTime with key from this TomlTable. If the entry does not exist, or it is not a TomlLiteral, or it cannot be converted to a TomlLocalDateTime, this returns null.

Throws

NonPrimitiveKeyException

if provided non-primitive key.