TimeUtils.IsTimeBetween(LocalTime, LocalTime, LocalTime) Method

Definition

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

Java documentation for android.util.TimeUtils.isTimeBetween(java.time.LocalTime, java.time.LocalTime, java.time.LocalTime).

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