Skip to content

Commit 59675e7

Browse files
authored
Zman.java - ComprehensiveZmanimCalendar documentation
1 parent 43e5c09 commit 59675e7

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

  • src/main/java/com/kosherjava/zmanim/util

src/main/java/com/kosherjava/zmanim/util/Zman.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* Zmanim Java API
3-
* Copyright (C) 2004-2025 Eliyahu Hershfeld
3+
* Copyright (C) 2004-2026 Eliyahu Hershfeld
44
*
55
* This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General
66
* Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option)
@@ -35,7 +35,7 @@
3535
* // the String parameter in getTimeZone() has to be a valid timezone listed in {@link java.util.TimeZone#getAvailableIDs()}
3636
* TimeZone timeZone = TimeZone.getTimeZone("America/New_York");
3737
* GeoLocation location = new GeoLocation(locationName, latitude, longitude, elevation, timeZone);
38-
* ComplexZmanimCalendar czc = new ComplexZmanimCalendar(location);
38+
* ComprehensiveZmanimCalendar czc = new ComprehensiveZmanimCalendar(location);
3939
* Zman sunset = new Zman(czc.getSunset(), "Sunset");
4040
* Zman shaah16 = new Zman(czc.getShaahZmanis16Point1Degrees(), "Shaah zmanis 16.1");
4141
* Zman sunrise = new Zman(czc.getSunrise(), "Sunrise");
@@ -55,7 +55,7 @@
5555
* // will sort shaah 1.6, shaah GRA, sunrise, sunset
5656
* </pre>
5757
*
58-
* @author &copy; Eliyahu Hershfeld 2007-2025
58+
* @author &copy; Eliyahu Hershfeld 2007-2026
5959
* @todo Add secondary sorting. As of now the {@code Comparator}s in this class do not sort by secondary order. This means that when sorting a
6060
* {@link java.util.Collection} of <em>zmanim</em> and using the {@link #DATE_ORDER} {@code Comparator} will have the duration based <em>zmanim</em>
6161
* at the end, but they will not be sorted by duration. This should be N/A for label based sorting.
@@ -74,7 +74,7 @@ public class Zman {
7474
/**
7575
* The duration if the <em>zman</em> is a {@link com.kosherjava.zmanim.AstronomicalCalendar#getTemporalHour() temporal hour} (or the various
7676
* <em>shaah zmanis</em> base times such as {@link com.kosherjava.zmanim.ZmanimCalendar#getShaahZmanisGra() <em>shaah Zmanis GRA</em>} or
77-
* {@link com.kosherjava.zmanim.ComplexZmanimCalendar#getShaahZmanis16Point1Degrees() <em>shaah Zmanis 16.1&deg;</em>}).
77+
* {@link com.kosherjava.zmanim.ComprehensiveZmanimCalendar#getShaahZmanis16Point1Degrees() <em>shaah Zmanis 16.1&deg;</em>}).
7878
*/
7979
private long duration;
8080

@@ -116,7 +116,7 @@ public Zman(Date date, GeoLocation geoLocation, String label) {
116116
* The constructor setting a duration based <em>zman</em> such as
117117
* {@link com.kosherjava.zmanim.AstronomicalCalendar#getTemporalHour() temporal hour} (or the various <em>shaah zmanis</em> times such as
118118
* {@link com.kosherjava.zmanim.ZmanimCalendar#getShaahZmanisGra() <em>shaah zmanis GRA</em>} or
119-
* {@link com.kosherjava.zmanim.ComplexZmanimCalendar#getShaahZmanis16Point1Degrees() <em>shaah Zmanis 16.1&deg;</em>}) and label.
119+
* {@link com.kosherjava.zmanim.ComprehensiveZmanimCalendar#getShaahZmanis16Point1Degrees() <em>shaah Zmanis 16.1&deg;</em>}) and label.
120120
* @param duration a duration based <em>zman</em> such as ({@link com.kosherjava.zmanim.AstronomicalCalendar#getTemporalHour()}
121121
* @param label the label of the <em>zman</em> such as "<em>Shaah Zmanis GRA</em>".
122122
* @see #Zman(Date, String)
@@ -163,7 +163,7 @@ public void setGeoLocation(GeoLocation geoLocation) {
163163
/**
164164
* Returns a duration based <em>zman</em> such as {@link com.kosherjava.zmanim.AstronomicalCalendar#getTemporalHour() temporal hour}
165165
* (or the various <em>shaah zmanis</em> times such as {@link com.kosherjava.zmanim.ZmanimCalendar#getShaahZmanisGra() <em>shaah zmanis GRA</em>}
166-
* or {@link com.kosherjava.zmanim.ComplexZmanimCalendar#getShaahZmanis16Point1Degrees() <em>shaah zmanis 16.1&deg;</em>}).
166+
* or {@link com.kosherjava.zmanim.ComprehensiveZmanimCalendar#getShaahZmanis16Point1Degrees() <em>shaah zmanis 16.1&deg;</em>}).
167167
* @return the duration based <em>zman</em>.
168168
* @see #setDuration(long)
169169
*/
@@ -174,7 +174,7 @@ public long getDuration() {
174174
/**
175175
* Sets a duration based <em>zman</em> such as {@link com.kosherjava.zmanim.AstronomicalCalendar#getTemporalHour() temporal hour}
176176
* (or the various <em>shaah zmanis</em> times as {@link com.kosherjava.zmanim.ZmanimCalendar#getShaahZmanisGra() <em>shaah zmanis GRA</em>} or
177-
* {@link com.kosherjava.zmanim.ComplexZmanimCalendar#getShaahZmanis16Point1Degrees() <em>shaah zmanis 16.1&deg;</em>}).
177+
* {@link com.kosherjava.zmanim.ComprehensiveZmanimCalendar#getShaahZmanis16Point1Degrees() <em>shaah zmanis 16.1&deg;</em>}).
178178
* @param duration duration based <em>zman</em> such as {@link com.kosherjava.zmanim.AstronomicalCalendar#getTemporalHour()}.
179179
* @see #getDuration()
180180
*/
@@ -254,7 +254,7 @@ public int compare(Zman zman1, Zman zman2) {
254254
* A {@link Comparator} that will compare and sort duration based <em>zmanim</em> such as
255255
* {@link com.kosherjava.zmanim.AstronomicalCalendar#getTemporalHour() temporal hour} (or the various <em>shaah zmanis</em> times
256256
* such as <em>{@link com.kosherjava.zmanim.ZmanimCalendar#getShaahZmanisGra() shaah zmanis GRA}</em> or
257-
* {@link com.kosherjava.zmanim.ComplexZmanimCalendar#getShaahZmanis16Point1Degrees() <em>shaah zmanis 16.1&deg;</em>}). Returns a negative
257+
* {@link com.kosherjava.zmanim.ComprehensiveZmanimCalendar#getShaahZmanis16Point1Degrees() <em>shaah zmanis 16.1&deg;</em>}). Returns a negative
258258
* integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
259259
* Please note that this class will sort cases where {@code Zman} is a null.
260260
*/

0 commit comments

Comments
 (0)