public static final class DateIntervalInfo.PatternInfo
extends java.lang.Object
implements java.lang.Cloneable, java.io.Serializable
| Constructor and Description |
|---|
PatternInfo(java.lang.String firstPart,
java.lang.String secondPart,
boolean firstDateInPtnIsLaterDate)
Constructs a
PatternInfo object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object a)
Compares the specified object with this
PatternInfo for equality. |
boolean |
firstDateInPtnIsLaterDate()
Returns whether the first date in interval patter is later date or not.
|
java.lang.String |
getFirstPart()
Returns the first part of interval pattern.
|
java.lang.String |
getSecondPart()
Returns the second part of interval pattern.
|
int |
hashCode()
Returns the hash code of this
PatternInfo. |
java.lang.String |
toString() |
public PatternInfo(java.lang.String firstPart,
java.lang.String secondPart,
boolean firstDateInPtnIsLaterDate)
PatternInfo object.firstPart - The first part of interval pattern.secondPart - The second part of interval pattern.firstDateInPtnIsLaterDate - Whether the first date in interval patter is later date or not.public java.lang.String getFirstPart()
public java.lang.String getSecondPart()
public boolean firstDateInPtnIsLaterDate()
public boolean equals(java.lang.Object a)
PatternInfo for equality.equals in class java.lang.Objecta - The object to be compared.true if the specified object is equal to this PatternInfo.public int hashCode()
PatternInfo.hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2016 Unicode, Inc. and others.