formatOmer

fun formatOmer(jewishCalendar: JewishCalendar): String

Returns a String of the Omer day in the form ל״ג בעומר if Hebrew Format is set, or "Omer X" or "Lag B'Omer" if not. An empty string if there is no Omer this day.

Return

a String of the Omer day in the form or an empty string if there is no Omer this day. The default formatting has a ב׳ prefix that would output בעומר, but this can be set via the hebrewOmerPrefix method to use a ל and output ל״ג לעומר.

Parameters

jewishCalendar

the JewishCalendar to be formatted

See also