core :: ISODate :: from_string
self
from a ISODate formatted string.
# Init `self` from a ISODate formatted string.
init from_string(str: String) do
year = str.substring(0, 4).to_i
month = str.substring(5, 2).to_i
day = str.substring(8, 2).to_i
hours = str.substring(11, 2).to_i
minutes = str.substring(14, 2).to_i
seconds = str.substring(17, 2).to_i
timezone = str.substring(19, str.length)
end
lib/core/time.nit:242,2--251,4