gigasecond: Adopt functional solution

As discussed in #79.