public static final class DateIntervalInfo.PatternInfo extends Object implements Cloneable, Serializable
Constructor and Description |
---|
PatternInfo(String firstPart,
String secondPart,
boolean firstDateInPtnIsLaterDate)
Constructs a
PatternInfo object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(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.
|
String |
getFirstPart()
Returns the first part of interval pattern.
|
String |
getSecondPart()
Returns the second part of interval pattern.
|
int |
hashCode()
Returns the hash code of this
PatternInfo . |
String |
toString() |
public PatternInfo(String firstPart, 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 String getFirstPart()
public String getSecondPart()
public boolean firstDateInPtnIsLaterDate()
public boolean equals(Object a)
PatternInfo
for equality.public int hashCode()
PatternInfo
.Copyright © 2016 Unicode, Inc. and others.