From e1d7498504988e8db843bad16445cc4c572cfe1f Mon Sep 17 00:00:00 2001 From: Ely Jacobi <47622014+Elyahu41@users.noreply.github.com> Date: Mon, 15 Jan 2024 00:58:57 -0700 Subject: [PATCH] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index ee79f95..fc41e70 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,11 @@ public extension JewishCalendar { The same goes for zmanim! If you want to create your own zmanim, it would look like this: ```Swift public extension ComplexZmanimCalendar { + + // for regular minutes (note the need to convert to milliseconds) + func getTzais45() -> Date? { + return ComplexZmanimCalendar.getTimeOffset(time: getElevationAdjustedSunset(), offset: 45 * ComplexZmanimCalendar.MINUTE_MILLIS); + } // for degrees func getTzais8PointSevenDegrees() -> Date? {