LocalDateTime.IsAfter(IChronoLocalDateTime) 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.
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.