Condividi tramite


Time.Before(Time) Method

Definition

Returns true if the time represented by this Time object occurs before the given time.

[Android.Runtime.Register("before", "(Landroid/text/format/Time;)Z", "GetBefore_Landroid_text_format_Time_Handler")]
public virtual bool Before (Android.Text.Format.Time? that);
[<Android.Runtime.Register("before", "(Landroid/text/format/Time;)Z", "GetBefore_Landroid_text_format_Time_Handler")>]
abstract member Before : Android.Text.Format.Time -> bool
override this.Before : Android.Text.Format.Time -> bool

Parameters

that
Time

a given Time object to compare against

Returns

true if this time is less than the given time

Attributes

Remarks

Returns true if the time represented by this Time object occurs before the given time.

Equivalent to Time.compare(this, that) < 0. See #compare(Time, Time) for details.

Java documentation for android.text.format.Time.before(android.text.format.Time).

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