Package io.moov.sdk.models.components
Class BirthDate
- java.lang.Object
-
- io.moov.sdk.models.components.BirthDate
-
public class BirthDate extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBirthDate.Builder
-
Constructor Summary
Constructors Constructor Description BirthDate(long day, long month, long year)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BirthDate.Builderbuilder()longday()booleanequals(java.lang.Object o)inthashCode()longmonth()java.lang.StringtoString()BirthDatewithDay(long day)BirthDatewithMonth(long month)BirthDatewithYear(long year)longyear()
-
-
-
Method Detail
-
day
public long day()
-
month
public long month()
-
year
public long year()
-
builder
public static final BirthDate.Builder builder()
-
withDay
public BirthDate withDay(long day)
-
withMonth
public BirthDate withMonth(long month)
-
withYear
public BirthDate withYear(long year)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-