The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

TOML::XS::Document - Object representation of a TOML timestamp

SYNOPSIS

See TOML::XS.

DESCRIPTION

Instances of this class represent a parse of a TOML timestamp.

This class is not directly instantiable.

ACCESSOR METHODS

Any of the following may be undef:

  • year()

  • month()

  • day() (alias: date())

  • hour() (alias: hours())

  • minute() (alias: minutes())

  • second() (alias: seconds())

  • millisecond() (alias: milliseconds())

  • timezone()

OTHER METHODS

$str = OBJ->to_string()

Returns a string that represents OBJ.