EarlierDaysFilter

class EarlierDaysFilter @InternalWowApi constructor(val field: QueryField<*>, val days: Int, val timeZone: String? = null) : RelativeTimeFilter

Constructors

Link copied to clipboard
constructor(field: QueryField<*>, days: Int, timeZone: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val days: Int
Link copied to clipboard
open override val field: QueryField<*>
Link copied to clipboard
open override val operator: FilterOperator
Link copied to clipboard
open override val timeZone: String?

The time zone, an IANA region such as Asia/Shanghai or an offset such as +08:00; null, the default, is UTC, never the server's own zone.

Functions

Link copied to clipboard
fun copy(field: QueryField<*> = this.field, days: Int = this.days, timeZone: String? = this.timeZone): EarlierDaysFilter

This EarlierDaysFilter with the given values replaced; for Wow's own query rewriting.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun withField(field: QueryField<*>): EarlierDaysFilter

This predicate naming field instead; everything else it carries is kept.