Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Calc ¶
Calc returns the summed time distance (as a time.Duration) between a set of Pairs of modules. TODO: sum can only represent ~290 years before overflowing, but we don't actually need nanosecond precision! Probably worth switching to hour-based summing here.
func DecimalYear ¶
DecimalYear conversts a time.Duration (which is in nsec) to a two-decimal-place count of years.
Types ¶
Click to show internal directories.
Click to hide internal directories.