Language

LocalDateTime.IsAfter(IChronoLocalDateTime) Method

Definition

Checks if this date-time is after the specified date-time.

[Android.Runtime.Register("isAfter", "(Ljava/time/chrono/ChronoLocalDateTime;)Z", "", ApiSince=26)]
public bool IsAfter(Java.Time.Chrono.IChronoLocalDateTime? other);
[<Android.Runtime.Register("isAfter", "(Ljava/time/chrono/ChronoLocalDateTime;)Z", "", ApiSince=26)>]
abstract member IsAfter : Java.Time.Chrono.IChronoLocalDateTime -> bool
override this.IsAfter : Java.Time.Chrono.IChronoLocalDateTime -> bool

Parameters

other
IChronoLocalDateTime

the other date-time to compare to, not null

Returns

true if this date-time is after the specified date-time

Implements

Attributes

Remarks

Checks if this date-time is after the specified date-time. This checks to see if this date-time represents a point on the local time-line after the other date-time. This method only considers the position of the two date-times on the local time-line. It does not take into account the chronology, or calendar system. This is different from the comparison in compareTo(ChronoLocalDateTime), but is the same approach as ChronoLocalDateTime.timeLineOrder().

Java reference for java.time.LocalDateTime.isAfter.

Applies to