|
KosherJava Zmanim Homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.zmanim.hebrewcalendar.HebrewDateFormatter
public class HebrewDateFormatter
The HebrewDateFormatter class formats a JewishDate
.
This class is part of a refactoring of Avrom Finkelstien's HebrewDate
class that removes formatting code from the core HebrewDate class.
TODO: add additional formatting options including Hebrew formatting support.
Date
,
Calendar
Constructor Summary | |
---|---|
HebrewDateFormatter()
|
Method Summary | |
---|---|
static String |
getHebrewDateAsString(JewishDate hd)
Returns a string containing the Hebrew date in the form, "day Month, year" e.g. "21 Shevat, 5729" |
static String |
getHebrewMonthAsString(JewishDate hd)
returns a string of the current Hebrew month such as "Tishrei". |
static String |
getOmerAsString(JewishDate hd)
returns a String of the Omer day in the form "Omer X" or "Lag B'Omer" or an empty string if there is no Omer this day. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HebrewDateFormatter()
Method Detail |
---|
public static String getHebrewDateAsString(JewishDate hd)
public static String getHebrewMonthAsString(JewishDate hd)
public static String getOmerAsString(JewishDate hd)
|
KosherJava Zmanim Homepage | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |