GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - KosherJava/zmanim: KosherJava Zmanim API / Library

BranchesTags
Open more actions menu

Latest commit

 

History

879 Commits
879 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.mvn/wrapper
.mvn/wrapper
 
 
gradle/wrapper
gradle/wrapper
 
 
src
src
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
build.gradle
build.gradle
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
mvnw
mvnw
 
 
mvnw.cmd
mvnw.cmd
 
 
pom.xml
pom.xml
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

KosherJava Zmanim API

The Zmanim library is an API for a specialized calendar that can calculate different astronomical times including sunrise and sunset and Jewish zmanim or religious times for prayers and other Jewish religious duties.

These classes extend GregorianCalendar and can therefore use the standard Calendar functionality to change dates etc. For non religious astronomical / solar calculations use the AstronomicalCalendar.

The ZmanimCalendar contains the most common zmanim or religious time calculations. For a much more extensive list of zmanim use the ComplexZmanimCalendar. This class contains the main functionality of the Zmanim library.

For a basic set of instructions on the use of the API, see How to Use the Zmanim API, zmanim code samples and the KosherJava FAQ. See the KosherJava Zmanim site for additional information.

Get Started

To add KosherJava as a dependency to your project, add the following dependency:

Maven

Add the following to your pom.xml file:

<dependency>
  <groupId>com.kosherjava</groupId>
  <artifactId>zmanim</artifactId>
  <version>3.1.0</version>
</dependency>

Gradle

Add the following to your build.gradle file:

implementation 'com.kosherjava:zmanim:3.1.0'

Or if you have build.gradle.kts file:

implementation("com.kosherjava:zmanim:3.1.0")

License

The library is released under the LGPL 2.1 license.

Ports to Other Languages

The KosherJava Zmanim API has been ported to:

  • .NET - https://github.com/Elyahu41/Kosher.Zmanim.NET (the original out of date port can be seen at https://github.com/Yitzchok/Zmanim)
  • C - https://github.com/yparitcher/libzmanim
  • Dart / Flutter - https://github.com/yakir8/kosher_dart
  • Go - https://github.com/vlipovetskii/go-zmanim
  • JavaScript - https://github.com/yparitcher/zmanJS
  • Kotlin - https://github.com/elfifo4/KosherKotlin / Maven Central (an up-to-date fork of Sternbach-Software's port).
  • Monkey C - https://github.com/5E7EN/Garmin-ZmanIQ/tree/rebuild-zmaniq/source/utils/zmanim
  • Objective-C - https://github.com/MosheBerman/KosherCocoa
  • PHP - https://github.com/zachweix/PhpZmanim/
  • Python - https://github.com/pinnymz/python-zmanim & https://pypi.org/project/zmanim/
  • Ruby - https://github.com/pinnymz/ruby-zmanim
  • Rust - https://github.com/dickermoshe/rust-zmanim-project & https://github.com/YSCohen/rust-zmanim
  • Scala - https://github.com/nafg/jewish-date
  • SQL - https://github.com/BehindTheMath/zmanim-sql (alpha quality).
  • Swift - https://github.com/Elyahu41/KosherSwift & https://github.com/DanielSmith1239/KosherSwift
  • TypeScript - https://github.com/BehindTheMath/KosherZmanim
  • VB6/VBA (Visual Basic) - https://github.com/diaphone1/vbzmanim

ZmanCode Desktop App

The .NET port was used to create a desktop app that is available at https://github.com/NykUser/MyZman.

Disclaimer:

While I did my best to get accurate results, please double check before relying on these zmanim for halacha lemaaseh.


GitHub release (latest SemVer) GitHub GitHub last commit CodeQL Run unit tests

About

KosherJava Zmanim API / Library

kosherjava.com

Topics

calendarsdaf-yomidawnduskhebrew-calendarhebrew-datejavajewishjewish-holidaysjudaismparshasunrisesunsetyahrzeitzmanzmanim

Resources

Readme
LGPL-2.1 license

Security policy

Security policy
Activity

Stars

142 stars

Watchers

15 watching

Forks

60 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.