com.google.firebase.firestore.pipeline.evaluation

Top-level functions summary

Top-level functions

convertUnit

@RequiresApi(value = 26)
fun convertUnit(unit: String): ChronoUnit

Converts string units to TemporalUnit.

Returns
ChronoUnit

the converted unit

Throws
kotlin.IllegalArgumentException: kotlin.IllegalArgumentException

if unit is not among the list of recognized units.

isMicrosecondsInTimestampBounds

fun isMicrosecondsInTimestampBounds(microseconds: Long): Boolean

isMillisecondsInTimestampBounds

fun isMillisecondsInTimestampBounds(milliseconds: Long): Boolean

isSecondsInTimestampBounds

fun isSecondsInTimestampBounds(seconds: Long): Boolean

isTimestampInBounds

fun isTimestampInBounds(seconds: Long, nanos: Int): Boolean