Calendar.Time Property
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.
Returns this Calendar's current time. -or- Sets this Calendar's current time with the given Date.
public Java.Util.Date? Time { [Android.Runtime.Register("getTime", "()Ljava/util/Date;", "", ApiSince=24)] get; [Android.Runtime.Register("setTime", "(Ljava/util/Date;)V", "", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getTime", "()Ljava/util/Date;", "", ApiSince=24)>]
[<set: Android.Runtime.Register("setTime", "(Ljava/util/Date;)V", "", ApiSince=24)>]
member this.Time : Java.Util.Date with get, set
the current time.
- Attributes
Property getter documentation:
Returns this Calendar's current time.
Java documentation for android.icu.util.Calendar.getTime()
.
Property setter documentation:
Sets this Calendar's current time with the given Date.
Note: Calling setTime
with Date(Long.MAX_VALUE)
or Date(Long.MIN_VALUE)
may yield incorrect field values from #get(int)
.
Java documentation for android.icu.util.Calendar.setTime(java.util.Date)
.
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.
Produkt | Versioner |
---|---|
.NET for Android | .NET for Android API 34, .NET for Android API 35 |