Class DateIntervalInfo.PatternInfo
java.lang.Object
org.graalvm.shadowed.com.ibm.icu.text.DateIntervalInfo.PatternInfo
- All Implemented Interfaces:
Serializable,Cloneable
- Enclosing class:
DateIntervalInfo
public static final class DateIntervalInfo.PatternInfo
extends Object
implements Cloneable, Serializable
PatternInfo class saves the first and second part of interval pattern,
and whether the interval pattern is earlier date first.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPatternInfo(String firstPart, String secondPart, boolean firstDateInPtnIsLaterDate) Constructs aPatternInfoobject. -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares the specified object with thisPatternInfofor equality.booleanReturns whether the first date in interval patter is later date or not.Returns the first part of interval pattern.Returns the second part of interval pattern.inthashCode()Returns the hash code of thisPatternInfo.toString()
-
Constructor Details
-
PatternInfo
Constructs aPatternInfoobject.- Parameters:
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.
-
-
Method Details
-
getFirstPart
Returns the first part of interval pattern.- Returns:
- The first part of interval pattern.
-
getSecondPart
Returns the second part of interval pattern.- Returns:
- The second part of interval pattern.
-
firstDateInPtnIsLaterDate
public boolean firstDateInPtnIsLaterDate()Returns whether the first date in interval patter is later date or not.- Returns:
- Whether the first date in interval patter is later date or not.
-
equals
-
hashCode
-
toString
-