BeforeNowFilter
class BeforeNowFilter @InternalWowApi constructor(val field: QueryField<*>, val offset: String = ZERO_OFFSET, val timeZone: String? = null) : RelativeTimeFilter
A moment relative to the server's clock: the field is before now + offset. The server resolves now once per query, so every condition of one query sees the same moment and the client's clock does not matter.
The offset is an ISO-8601 duration added to now: PT0S (the default) is now itself, -PT30M is 30 minutes ago.
Constructors
Link copied to clipboard
Functions
Link copied to clipboard
fun copy(field: QueryField<*> = this.field, offset: String = this.offset, timeZone: String? = this.timeZone): BeforeNowFilter
This BeforeNowFilter with the given values replaced; for Wow's own query rewriting.
Link copied to clipboard
This predicate naming field instead; everything else it carries is kept.