DateBased

data class DateBased(val definition: ZmanDefinition, computeInstant: () -> Instant?) : Zman<Instant?>

This class represents a zman that has a moment in which it occurs.

Parameters

momentOfOccurrence

null if zman never occurs or does not apply (e.g. time to say kiddush levana after time has passed). Some zmanim can occasionally not occur (e.g. sunrise in the Arctic Circle) - see AstronomicalCalendar for more details.

Constructors

Link copied to clipboard
constructor(definition: ZmanDefinition, computeInstant: () -> Instant?)

Properties

Link copied to clipboard
open override val definition: ZmanDefinition
Link copied to clipboard
val momentOfOccurrence: Instant?
Link copied to clipboard
val value: Instant?

Functions

Link copied to clipboard
open operator override fun compareTo(other: Zman<Instant?>): Int
Link copied to clipboard
fun formatted(tz: TimeZone): String
fun formatted(tz: TimeZone, inEnglish: Boolean): String
fun formatted(tz: TimeZone, opinion: String): String