public static final class DateIntervalInfo.PatternInfo extends Object implements Cloneable, Serializable
| Constructor and Description |
|---|
PatternInfo(String firstPart,
String secondPart,
boolean firstDateInPtnIsLaterDate)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object a)
Override equals
|
boolean |
firstDateInPtnIsLaterDate()
accessor
|
String |
getFirstPart()
accessor
|
String |
getSecondPart()
accessor
|
int |
hashCode()
Override hashcode
|
String |
toString()
Deprecated.
This API is ICU internal only.
|
public String getFirstPart()
public String getSecondPart()
public boolean firstDateInPtnIsLaterDate()
public boolean equals(Object a)
equals in class Objecta - the object to compare this instance with.true if the specified object is equal to this Object; false otherwise.Object.hashCode()public int hashCode()
hashCode in class ObjectObject.equals(java.lang.Object)@Deprecated public String toString()
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString method
if you intend implementing your own toString method.