| this < rhs | < 0 |
| this == rhs | 0 |
| this > rhs | > 0 |
cmpTimeUnits
fn
int cmpTimeUnits(string lhs, string rhs) @safe pureCompares two time unit strings. "years" are the largest units and "hnsecs" are the smallest.
Returns
Throws
DateTimeException if either of the given strings is not a valid
time unit string.