LocalTime.IsBefore(LocalTime) Method

Definition

Checks if this time is before the specified time.

[Android.Runtime.Register("isBefore", "(Ljava/time/LocalTime;)Z", "", ApiSince=26)]
public bool IsBefore(Java.Time.LocalTime? other);
[<Android.Runtime.Register("isBefore", "(Ljava/time/LocalTime;)Z", "", ApiSince=26)>]
member this.IsBefore : Java.Time.LocalTime -> bool

Parameters

other
LocalTime

the other time to compare to, not null

Returns

true if this point is before the specified time

Attributes

Remarks

Checks if this time is before the specified time. The comparison is based on the time-line position of the time within a day.

Java reference for java.time.LocalTime.isBefore.

Applies to