Calendar.OneDay Field
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.
The number of milliseconds in one day.
[Android.Runtime.Register("ONE_DAY", ApiSince=24)]
protected const long OneDay = 86400000;
[<Android.Runtime.Register("ONE_DAY", ApiSince=24)>]
val mutable OneDay : int64
Field Value
Value = 86400000- Attributes
Remarks
The number of milliseconds in one day. Although ONE_DAY and ONE_WEEK can fit into ints, they must be longs in order to prevent arithmetic overflow when performing (bug 4173516).
Java documentation for android.icu.util.Calendar.ONE_DAY
.
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.