Udostępnij za pośrednictwem


Date.Minutes Property

Definition

Caution

deprecated

Returns the number of minutes past the hour represented by this date, as interpreted in the local time zone. -or- Sets the minutes of this Date object to the specified value.

[System.Obsolete("deprecated")]
public virtual int Minutes { [Android.Runtime.Register("getMinutes", "()I", "GetGetMinutesHandler")] get; [Android.Runtime.Register("setMinutes", "(I)V", "GetSetMinutes_IHandler")] set; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getMinutes", "()I", "GetGetMinutesHandler")>]
[<set: Android.Runtime.Register("setMinutes", "(I)V", "GetSetMinutes_IHandler")>]
member this.Minutes : int with get, set

Property Value

the number of minutes past the hour represented by this date.

Attributes

Remarks

Property getter documentation:

Returns the number of minutes past the hour represented by this date, as interpreted in the local time zone. The value returned is between 0 and 59.

This member is deprecated. As of JDK version 1.1, replaced by Calendar.get(Calendar.MINUTE).

Java documentation for java.util.Date.getMinutes().

Property setter documentation:

Sets the minutes of this Date object to the specified value. This Date object is modified so that it represents a point in time within the specified minute of the hour, with the year, month, date, hour, and second the same as before, as interpreted in the local time zone.

This member is deprecated. As of JDK version 1.1, replaced by Calendar.set(Calendar.MINUTE, int minutes).

Java documentation for java.util.Date.setMinutes(int).

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