toml_datetime Derived Type

type, public :: toml_datetime

TOML datatime value type


Components

Type Visibility Attributes Name Initial
type(toml_date), public :: date
type(toml_time), public :: time

Constructor

public interface toml_datetime

Create a new TOML datetime value

  • private pure function new_datetime(year, month, day, hour, minute, second, msecond, zone) result(datetime)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in), optional :: year
    integer, intent(in), optional :: month
    integer, intent(in), optional :: day
    integer, intent(in), optional :: hour
    integer, intent(in), optional :: minute
    integer, intent(in), optional :: second
    integer, intent(in), optional :: msecond
    character(len=*), intent(in), optional :: zone

    Return Value type(toml_datetime)

  • private pure function new_datetime_from_string(string) result(datetime)

    Arguments

    Type IntentOptional Attributes Name
    character(len=*), intent(in) :: string

    Return Value type(toml_datetime)