of

fun of(startTime: Instant?, endTime: Instant?): InstantTimeFilter

Creates an InstantTimeFilter instance with the given startTime and endTime.

Return

An instance of the created filter.

Since

1.0.0

Parameters

startTime

The start time.

endTime

The end time.


fun of(startTime: Instant?, endTime: Instant?, isInclusiveStart: Boolean, isInclusiveEnd: Boolean): InstantTimeFilter

Creates an InstantTimeFilter instance with the given startTime, endTime, and their options of edge inclusion.

Return

An instance of created filter.

Since

1.0.0

Parameters

startTime

The start time.

endTime

The end time.

isInclusiveStart

Whether the start time is included exactly.

isInclusiveEnd

Whether the end time is included exactly.

Preferences Submitted

You have successfully updated your cookie preferences.