FixedWindow

class FixedWindow : Enum

The window of time to calculate Spend Velocity over.

  • DAY: Velocity over the current day since midnight Eastern Time.

  • WEEK: Velocity over the current week since 00:00 / 12 AM on Monday in Eastern Time.

  • MONTH: Velocity over the current month since 00:00 / 12 AM on the first of the month in Eastern Time.

  • YEAR: Velocity over the current year since 00:00 / 12 AM on January 1st in Eastern Time.

Types

Link copied to clipboard
object Companion
Link copied to clipboard

An enum containing FixedWindow's known values.

Link copied to clipboard

An enum containing FixedWindow's known values, as well as an _UNKNOWN member.

Functions

Link copied to clipboard

Returns this class instance's raw value.

Link copied to clipboard

Returns this class instance's primitive wire representation.

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
Link copied to clipboard

Returns an enum member corresponding to this class instance's value.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard

Returns an enum member corresponding to this class instance's value, or Value._UNKNOWN if the class was instantiated with an unknown value.