ylliX - Online Advertising Network

It’s about time

People like us, who believe in physics, know that the distinction between past, present, and future is only a stubbornly persistent illusion. — Albert Einstein Time representation is a necessity for nearly all applications. The ability to display, reference, track, and manipulate moments of time plays an important role in the development of applications. But […]

Type-safe time calculations using Duration

Time calculations have always been a sensitive topic in most programming languages. Kotlin is no exception. If we have a function which accepts a time value to calculate a duration, it’s challenging to enforce a proper unit that the caller must follow. Starting from Kotlin 1.3.50, we can now make use of the Duration class […]