newFromIso8601

fun newFromIso8601(text: String, defaultTz: TimeZone? = null): DateTime?

Creates a #GDateTime corresponding to the given ISO 8601 formatted string

Return

a new #GDateTime, or null

Since

2.56

Parameters

text

an ISO 8601 formatted time string.

defaultTz

a #GTimeZone to use if the text doesn't contain a timezone, or null.