MENU

Fun & Interesting

How to Use Kotlin's Timing API

Dave Leeds 4,035 lượt xem 1 year ago
Video Not Working? Fix It Now

Kotlin's Timing API is stable as of Kotlin 1.9, and it offers some great ways to both measure and specify time. In this video, we'll take a tour through the main features of this API so that you can start using durations and time marks like a pro!

Wall Clocks vs Monotonic Clocks:
https://youtu.be/i1wysckHg2o

New to Kotlin? Start here:
https://typealias.com/start/

00:00 Introduction
00:11 Basic Time Measurement
02:57 All About Durations
04:17 Durations - Creating By Hand
05:56 Durations - Getting Values
07:34 Durations - Components
09:16 Durations - ISO 8601 Strings
10:36 Advanced Time Measurement
13:15 Time Sources
14:48 TestTimeSource
16:12 Wrap-up

#kotlin #androiddevelopment

Comment