enhanced isAfter documentation