Duration.to

Undocumented in source. Be warned that the author may not have intended to support it.
  1. auto to()
    struct Duration(TimeUnit timeUnit, T)
    const
    to
    (
    TimeUnit unit
    )
    ()
  2. T to()

Meta