fromIso8601

fun fromIso8601(iso8601String: String, result: JulianDate? = definedExternally): JulianDate(source)

Creates a new instance from a from an ISO 8601 date. This method is superior to Date.parse because it will handle all valid formats defined by the ISO 8601 specification, including leap seconds and sub-millisecond times, which discarded by most JavaScript implementations.

Return

The modified result parameter or a new instance if none was provided.

Parameters

iso8601String

An ISO 8601 date.

result

An existing instance to use for the result.

See also