The Zmanim (“times” referring to the calculations of time that govern the start and end time of Jewish prayers and holidays) project is a Java API for generating zmanim from within Java programs. If you are a non programmer, this means that the software created by the project is a building block of code to allow other programmers to easily include zmanim in their programs. The basis for most zmanim in this class are from the sefer Yisroel Vehazmanim by Rabbi Yisroel Dovid Harfenes. The code available under the GPL license can now be downloaded.
Please note: due to atmospheric conditions (pressure, humidity and other conditions), calculating zmanim accurately is very complex. The calculation of zmanim is dependant on Atmospheric refraction (refraction of sunlight through the atmosphere), and zmanim can be off by up to 2 minutes based on atmospheric conditions. Inaccuracy is increased by elevation. It is not the intent of this API to provide any guarantee of accuracy. See Using a Digital Terrain Model to Calculate Visual Sunrise and Sunset Times for additional information on the subject.

How to Use the API

Information on how to use the API can be found on the How to Use the API page as well as by reading the JavaDocs

Zmanim Calendar Generator

A sample use of the API can be seen in the calendar generator. This uses the Zmanim API to generate an annual Zmanim calendar in an Excel spreadsheet. Since this is a demo of the API, the calendar is generated using All (about 102 currently) possible zmanim that the API can generate.

List of Zmanim Supported by the API

The API currently can generate about 102 zmanim. Explanation of most of these can be seen by browsing the JavaDocs. You can link to the documentation of the specific zmanim from the links below.

  1. Alos 120
  2. Alos 120 Zmanis
  3. Alos 26º
  4. Alos 96
  5. Alos 96 Zmanis
  6. Alos 19.8º
  7. Alos 90
  8. Alos 90 Zmanis
  9. Alos 18º
  10. Alos 16.1º
  11. Alos 72
  12. Alos 72 Zmanis
  13. Alos 60
  14. Misheyakir 10.2º
  15. Misheyakir 11º
  16. Misheyakir 11.5º
  17. Sunrise
  18. Sof Zman Shma GRA
  19. Sof Zman Shma MGA 120
  20. Sof Zman Shma MGA 16.1º
  21. Sof Zman Shma MGA 19.8º
  22. Sof Zman Shma MGA 72
  23. Sof Zman Shma MGA 72 Zmanis
  24. Sof Zman Shma MGA 90
  25. Sof Zman Shma MGA 90 Zmanis
  26. Sof Zman Shma MGA 96
  27. Sof Zman Shma MGA 96 Zmanis
  28. Sof Zman Shma MGA Alos to Sunset
  29. Sof Zman Shma MGA Alos to Tzais Geonim
  30. Sof Zman Shma 3 Hours Before Chatzos
  31. Sof Zman Shma 3 Hours Before Fixed Local Chatzos
  32. Sof Zman Shma Kol Eliyahu
  33. Sof Zman Shma Ateret Torah
  34. Sof Zman Tfila GRA
  35. Sof Zman Tfila MGA 120
  36. Sof Zman Tfila MGA 16.1º
  37. Sof Zman Tfila MGA 19.8º
  38. Sof Zman Tfila MGA 72
  39. Sof Zman Tfila MGA 72 Zmanis
  40. Sof Zman Tfila MGA 90
  41. Sof Zman Tfila MGA 90 Zmanis
  42. Sof Zman Tfila MGA 96
  43. Sof Zman Tfila MGA 96 Zmanis
  44. Sof Zman Tfila 2 Hours Before Chatzos
  45. Sof Zman Tfila 2 Hours Before Fixed Local Chatzos
  46. Sof Zman Tfila Ateret Torah
  47. Chatzos
  48. Fixed Local Chatzos
  49. Mincha Gedola GRA
  50. Mincha Gedola 72
  51. Mincha Gedola 16.1º
  52. Mincha Gedola Ateret Torah
  53. Mincha Gedola Lechumra 30 Minutes
  54. Mincha Ketana GRA
  55. Mincha Ketana 16.1º
  56. Mincha Ketana 72
  57. Mincha Ketana Ateret Torah
  58. Plag GRA
  59. Plag 60
  60. Plag 72
  61. Plag 72 Zmanis
  62. Plag 90
  63. Plag 90 Zmanis
  64. Plag 96
  65. Plag 96 Zmanis
  66. Plag 120
  67. Plag 120 Zmanis
  68. Plag 16.1º
  69. Plag 18º
  70. Plag 19.8º
  71. Plag 26º
  72. Plag Alos to Sunset
  73. Plag Alos to Tzais Geonim
  74. Plag Ateret Torah
  75. Candle Lighting
  76. Sunset
  77. Bain Hashmashos Rabainu Tam 13.5 Minutes Before Tzais 7.083
  78. Bain Hashmashos Rabainu Tam 58.5 Minutes
  79. Bain Hashmashos Rabainu Tam 13º
  80. Bain Hashmashos Rabainu Tam 2 Stars
  81. Tzais Geonim 5.95º
  82. Tzais Geonim 7.083º
  83. Tzais Geonim 8.5º
  84. Tzais 72
  85. Tzais 72 Zmanis
  86. Tzais 16.1º
  87. Tzais 90
  88. Tzais 90 Zmanis
  89. Tzais 18º
  90. Tzais 19.8º
  91. Tzais 96
  92. Tzais 96 Zmanis
  93. Tzais 26º
  94. Tzais 120
  95. Tzais 120 Zmanis
  96. Shaah Zmanis GRA
  97. Shaah Zmanis 72 Minutes
  98. Shaah Zmanis 72 Minutes Zmanis
  99. Shaah Zmanis 16.1º
  100. Shaah Zmanis 90 Minutes
  101. Shaah Zmanis 90 Minutes Zmanis
  102. Shaah Zmanis 18º
  103. Shaah Zmanis 19.8º
  104. Shaah Zmanis 96 Minutes
  105. Shaah Zmanis 96 Zmanis
  106. Shaah Zmanis 26º
  107. Shaah Zmanis 120 Minutes
  108. Shaah Zmanis 120 Zmanis
  109. Shaah Zmanis Ateret Torah
Please see the sidebar for other sub pages.