DateDiff

data class DateDiff(val from: QueryField, val to: QueryField, val unit: DateDiffUnit) : AggregationExpression

The elapsed time from the instant in from to the instant in to, to − from, in unit as a decimal: negative when to is earlier, and no contribution when either instant is absent. Both fields must be single-valued temporal fields; each is read in its own temporal encoding.

Constructors

Link copied to clipboard
constructor(from: QueryField, to: QueryField, unit: DateDiffUnit)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard