TimeUtils.IsTimeBetween(LocalTime, LocalTime, LocalTime) 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.
This method is used to find if a clock time is inclusively between two other clock times
[Android.Runtime.Register("isTimeBetween", "(Ljava/time/LocalTime;Ljava/time/LocalTime;Ljava/time/LocalTime;)Z", "", ApiSince=30)]
public static bool IsTimeBetween (Java.Time.LocalTime reference, Java.Time.LocalTime start, Java.Time.LocalTime end);
[<Android.Runtime.Register("isTimeBetween", "(Ljava/time/LocalTime;Ljava/time/LocalTime;Ljava/time/LocalTime;)Z", "", ApiSince=30)>]
static member IsTimeBetween : Java.Time.LocalTime * Java.Time.LocalTime * Java.Time.LocalTime -> bool
Parameters
- reference
- LocalTime
The time of the day we want check if it is between start and end
- start
- LocalTime
The start time reference
- end
- LocalTime
The end time
Returns
true if the reference time is between the two clock times, and false otherwise.
- Attributes
Remarks
This method is used to find if a clock time is inclusively between two other clock times
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.