Calendar.Builder.SetTimeOfDay Method
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.
Overloads
| Name | Description |
|---|---|
| SetTimeOfDay(Int32, Int32, Int32) |
Sets the time of day field parameters to the values given by hourOfDay, minute, and second. |
| SetTimeOfDay(Int32, Int32, Int32, Int32) |
Sets the time of day field parameters to the values given by hourOfDay, minute, second, and millis. |
SetTimeOfDay(Int32, Int32, Int32)
Sets the time of day field parameters to the values given by hourOfDay, minute, and second.
[Android.Runtime.Register("setTimeOfDay", "(III)Ljava/util/Calendar$Builder;", "GetSetTimeOfDay_IIIHandler", ApiSince=26)]
public virtual Java.Util.Calendar.Builder SetTimeOfDay(int hourOfDay, int minute, int second);
[<Android.Runtime.Register("setTimeOfDay", "(III)Ljava/util/Calendar$Builder;", "GetSetTimeOfDay_IIIHandler", ApiSince=26)>]
abstract member SetTimeOfDay : int * int * int -> Java.Util.Calendar.Builder
override this.SetTimeOfDay : int * int * int -> Java.Util.Calendar.Builder
Parameters
- hourOfDay
- Int32
the HOUR_OF_DAY value (24-hour clock)
- minute
- Int32
the MINUTE value
- second
- Int32
the SECOND value
Returns
this Calendar.Builder
- Attributes
Remarks
Sets the time of day field parameters to the values given by hourOfDay, minute, and second. This method is equivalent to a call to:
setTimeOfDay(hourOfDay, minute, second, 0);
Java reference for java.util.Calendar.Builder.setTimeOfDay.
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
SetTimeOfDay(Int32, Int32, Int32, Int32)
Sets the time of day field parameters to the values given by hourOfDay, minute, second, and millis.
[Android.Runtime.Register("setTimeOfDay", "(IIII)Ljava/util/Calendar$Builder;", "GetSetTimeOfDay_IIIIHandler", ApiSince=26)]
public virtual Java.Util.Calendar.Builder SetTimeOfDay(int hourOfDay, int minute, int second, int millis);
[<Android.Runtime.Register("setTimeOfDay", "(IIII)Ljava/util/Calendar$Builder;", "GetSetTimeOfDay_IIIIHandler", ApiSince=26)>]
abstract member SetTimeOfDay : int * int * int * int -> Java.Util.Calendar.Builder
override this.SetTimeOfDay : int * int * int * int -> Java.Util.Calendar.Builder
Parameters
- hourOfDay
- Int32
the HOUR_OF_DAY value (24-hour clock)
- minute
- Int32
the MINUTE value
- second
- Int32
the SECOND value
- millis
- Int32
the MILLISECOND value
Returns
this Calendar.Builder
- Attributes
Remarks
Sets the time of day field parameters to the values given by hourOfDay, minute, second, and millis. This method is equivalent to a call to:
setFields(Calendar.HOUR_OF_DAY, hourOfDay,
Calendar.MINUTE, minute,
Calendar.SECOND, second,
Calendar.MILLISECOND, millis);
Java reference for java.util.Calendar.Builder.setTimeOfDay.
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.