Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Get the function to create a pair of calendars for the timescale. The Integer parameter is the offset of the
timescale. If no offset is used, the current time is the pair.right.
Get the function to calculate the ticks of the timescale. The amount of ticks between the start (pair.left) and
end (pair.right) in the timescale. TODO: does this make sense for week?