moonbit-community/toml/datetime does not have a README file

    TomlDateTime

    pub(all) enum TomlDateTime {
    OffsetDateTime(String)
    LocalDateTime(String)
    LocalDate(String)
    LocalTime(String)
    } derive(Eq,
    Debug
    )

    TOML datetime variants (RFC 3339 subset).

    TOML distinguishes four kinds of datetime literals:
    • OffsetDateTime — full date + time + UTC offset (e.g. 1979-05-27T07:32:00Z)
    • LocalDateTime — date + time, no offset (e.g. 1979-05-27T07:32:00)
    • LocalDate — date only (e.g. 1979-05-27)
    • LocalTime — time only (e.g. 07:32:00)

    Values are stored as their original string form. The parser preserves the spelling supplied in the TOML source; it does not normalize or validate the underlying calendar arithmetic.

    TomlDateTime::equal

    #deprecated("compare with `==`; the Eq impl is unaffected")
    fn TomlDateTime::equal(TomlDateTime, TomlDateTime) -> Bool

    TomlDateTime::not_equal

    #deprecated("compare with `==`; the Eq impl is unaffected")
    fn TomlDateTime::not_equal(x : TomlDateTime, y : TomlDateTime) -> Bool

    TomlDateTime::output

    #deprecated("render via the Show trait, e.g. `inspect` or `\\{value}`")
    fn TomlDateTime::output(self : TomlDateTime, logger : &Logger) -> Unit

    TomlDateTime::to_repr

    #deprecated("render via the Debug trait, e.g. `debug_inspect`")
    fn TomlDateTime::to_repr(TomlDateTime) ->
    Repr

    TomlDateTime::to_string

    fn TomlDateTime::to_string(self : TomlDateTime) -> String

    Source Files