Tracks
/
Scala
Scala
/
Exercises
/
Gigasecond
Gigasecond

Gigasecond

Easy

Instructions

Given a moment, determine the moment that would be after a gigasecond has passed.

A gigasecond is 10^9 (1,000,000,000) seconds.

Note that addGigaseconds accepts two different types of input.

Last updated 2 September 2022
Edit via GitHub The link opens in a new window or tab
Scala Exercism

Ready to start Gigasecond?

Sign up to Exercism to learn and master Scala with 91 exercises, and real human mentoring, all for free.