toml_datetime Interface

public interface toml_datetime

Create a new TOML datetime value


Module Procedures

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)