I am trying to figure out how I can use the enum variants which are part of Chrono Tz.
For example, there is a variant called Europe__London
.
https://docs.rs/chrono-tz/latest/chrono_tz/enum.Tz.html#variant.Europe__London
I don't understand how to use it, and I haven't been able to find any documentation or other resources to help. I have attempted to inspect the source code, but the browser crashed while trying to open it. (Out of memory.)
I also tried looking at the source on Github, but it appears, unless I misunderstand, that the source code is actually being auto generated by querying an IANA database via a web interface.
Can a chrono::Tz
object be created from a String
or &str
.