validTimeUnits

fnbool validTimeUnits(string[] units...) @safe pure nothrow @nogc

Whether all of the given strings are valid units of time.

"nsecs" is not considered a valid unit of time. Nothing in std.datetime can handle precision greater than hnsecs, and the few functions in core.time which deal with "nsecs" deal with it explicitly.