Condividi tramite


Calendar.OneWeek Field

Definition

The number of milliseconds in one week.

[Android.Runtime.Register("ONE_WEEK", ApiSince=24)]
protected const long OneWeek = 604800000;
[<Android.Runtime.Register("ONE_WEEK", ApiSince=24)>]
val mutable OneWeek : int64

Field Value

Value = 604800000
Attributes

Remarks

The number of milliseconds in one week. 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_WEEK.

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.

Applies to