Skip to content

Commit

Permalink
Basic Keviyah module for Hebrew Calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Dec 28, 2023
1 parent 07075fa commit ceb0e0d
Show file tree
Hide file tree
Showing 3 changed files with 539 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/calendrical_calculations/src/hebrew.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ use crate::rata_die::{Moment, RataDie};
use core_maths::*;

/// Lisp code reference: <https://github.com/EdReingold/calendar-code2/blob/main/calendar.l#L2206>
const FIXED_HEBREW_EPOCH: RataDie = crate::julian::fixed_from_julian_book_version(-3761, 10, 7);
pub(crate) const FIXED_HEBREW_EPOCH: RataDie =
crate::julian::fixed_from_julian_book_version(-3761, 10, 7);

/// Biblical Hebrew dates. The months are reckoned a bit strangely, with the new year occurring on
/// Tishri (as in the civil calendar) but the months being numbered in a different order
Expand Down
Loading

0 comments on commit ceb0e0d

Please sign in to comment.