Commit graph

4 commits

Author SHA1 Message Date
Petar Kapriš f14ed81d81 Modify the julian package to use the GDate type
Up until now the julian package relied on the time.Time type to
represent Gregorian dates, and julian.Date to represent Julian dates,
however this both looks inconsistent, and is more opaque and complicated
because time.Time carries with it a lot of information we don't care
about.

Therefore this has been modified, now the conversion package has two
types julian.JDate and julian.GDate for their respective calendars.
2024-08-18 15:57:35 +02:00
Petar Kapriš 6f6b203c5b Add TimeToJDate with tests 2024-07-22 21:16:24 +02:00
Petar Kapriš d862f6c35d Rename ToTime->JDateToTime 2024-07-22 21:15:20 +02:00
Petar Kapriš cc6e52d352 Add tests for julian package 2024-07-21 00:28:25 +02:00