Tag Archives: duration

Using Duration in Typescript

I’m converting Java 8 code to Typescript. Java 8 introduced a great Duration class that uses ChronoUnit to specify units such as DAYS or HOURS. You then instantiate a duration using that: Duration.of(3, SECONDS); Duration.of(465, HOURS); Duration can then interact … Continue reading

Posted in Angular, Development, Technology, Typescript | Tagged , , , , | Leave a comment