DateUtils.YearInMillis Field

Definition

This member is deprecated.

[Android.Runtime.Register("YEAR_IN_MILLIS")]
public const long YearInMillis = 31449600000;
[<Android.Runtime.Register("YEAR_IN_MILLIS")>]
val mutable YearInMillis : int64

Field Value

Value = 31449600000
Attributes

Remarks

This member is deprecated. Not all years have the same number of days, and this constant is actually the length of 364 days. Please use other date/time constructs such as java.util.concurrent.TimeUnit, java.util.Calendar or java.time.Duration instead.

Java documentation for android.text.format.DateUtils.YEAR_IN_MILLIS.

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