AnimationDuration(duration: Long, @NonNull timeUnit: TimeUnit)
Build AnimationDuration for the given duration and TimeUnit.
duration - Long: Duration of the animation.
timeUnit - TimeUnit: Determines the time unit for the animation duration.