ff4k
Toggle table of contents
0.4.0
common
Target filter
common
Switch theme
Search in API
Skip to content
ff4k
ff4k-core
/
com.yonatankarp.ff4k.strategy
/
DateRangeStrategy
Date
Range
Strategy
@
Serializable
@
SerialName
(
value
=
"dateRange"
)
data
class
DateRangeStrategy
(
val
start
:
Instant
,
val
end
:
Instant
)
:
FlippingStrategy
(
source
)
Active from
start
(inclusive) until
end
(exclusive).
Members
Members & Extensions
Constructors
Date
Range
Strategy
Link copied to clipboard
constructor
(
start
:
Instant
,
end
:
Instant
)
Properties
end
Link copied to clipboard
val
end
:
Instant
start
Link copied to clipboard
val
start
:
Instant
Functions
and
Link copied to clipboard
infix
fun
FlippingStrategy
.
and
(
other
:
FlippingStrategy
)
:
AndStrategy
evaluate
Link copied to clipboard
open
suspend override
fun
evaluate
(
feature
:
Feature
,
context
:
Map
<
String
,
Any
>
)
:
Boolean
not
Link copied to clipboard
operator
fun
FlippingStrategy
.
not
(
)
:
NotStrategy
or
Link copied to clipboard
infix
fun
FlippingStrategy
.
or
(
other
:
FlippingStrategy
)
:
OrStrategy