|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crosswire.jsword.passage.DefaultLeafKeyList
org.crosswire.jsword.book.readings.ReadingsKey
public class ReadingsKey
For a readings dictionary the keys are dates.
for license details.
The copyright to this program is held by it's authors.
,
Serialized FormField Summary | |
---|---|
private Date |
date
The day of the year for the readings |
private static MessageFormat |
KEY_FORMAT
|
private static DateFormat |
NAME_DF
Date formatter |
private static DateFormat |
OSIS_DF
|
private static long |
serialVersionUID
Serialization ID |
Constructor Summary | |
---|---|
protected |
ReadingsKey(Date date)
Simple Constructor. |
protected |
ReadingsKey(String text,
String osisName,
Key parent)
Simple Constructor. |
Method Summary | |
---|---|
Object |
clone()
This needs to be declared here so that it is visible as a method on a derived Key. |
int |
compareTo(Object obj)
|
boolean |
equals(Object obj)
|
static String |
external2internal(Calendar externalKey)
|
int |
hashCode()
|
Methods inherited from class org.crosswire.jsword.passage.DefaultLeafKeyList |
---|
addAll, blur, canHaveChildren, clear, contains, get, getChildCount, getName, getName, getOsisID, getOsisRef, getParent, indexOf, isEmpty, iterator, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private Date date
private static final long serialVersionUID
private static final DateFormat NAME_DF
private static final DateFormat OSIS_DF
private static final MessageFormat KEY_FORMAT
Constructor Detail |
---|
protected ReadingsKey(String text, String osisName, Key parent) throws NoSuchKeyException
text
- The textual version of the date for these readings in the
format "d mmmm"osisName
- The OSIS id of this Keyparent
- This Key's parent (or null of this Key has no parent)
NoSuchKeyException
protected ReadingsKey(Date date)
date
- The date for this keyMethod Detail |
---|
public boolean equals(Object obj)
equals
in class DefaultLeafKeyList
public int hashCode()
hashCode
in class DefaultLeafKeyList
public int compareTo(Object obj)
compareTo
in interface Comparable
compareTo
in class DefaultLeafKeyList
public Object clone()
Key
clone
in interface Key
clone
in class DefaultLeafKeyList
public static String external2internal(Calendar externalKey)
|
Copyright ยจ 2003-2006 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |