TimeUnit.ToDays(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Equivalent to
#convert(long, TimeUnit) DAYS.convert(duration, this)
.
[Android.Runtime.Register("toDays", "(J)J", "")]
public long ToDays (long duration);
[<Android.Runtime.Register("toDays", "(J)J", "")>]
member this.ToDays : int64 -> int64
Parameters
- duration
- Int64
the duration
Returns
the converted duration
- Attributes
Remarks
Equivalent to #convert(long, TimeUnit) DAYS.convert(duration, this)
.
Added in 1.6.
Java documentation for java.util.concurrent.TimeUnit.toDays(long)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.