Just on the naming: I feel that nanosecondsComponent
and secondsComponent
is more in keeping with existing terminology in Swift (I'm not aware of any "portion" methods), and that alternatively nanosecondsPart
is both shorter and (in my opinion) more obvious than nanosecondsPortion
.
12 Likes