Package io.github.astrapi69.date
Class SqlTimestampDecorator
- java.lang.Object
-
- io.github.astrapi69.date.SqlTimestampDecorator
-
public class SqlTimestampDecorator extends java.lang.Object
The classSqlTimestampDecorator
is aTimestamp
decorator.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SqlTimestampDecorator.SqlTimestampDecoratorBuilder
-
Constructor Summary
Constructors Constructor Description SqlTimestampDecorator()
SqlTimestampDecorator(java.sql.Timestamp date)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SqlTimestampDecorator.SqlTimestampDecoratorBuilder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.sql.Timestamp
getDate()
int
hashCode()
SqlTimestampDecorator
setDate(java.sql.Timestamp date)
SqlTimestampDecorator.SqlTimestampDecoratorBuilder
toBuilder()
java.lang.String
toString()
-
-
-
Method Detail
-
builder
public static SqlTimestampDecorator.SqlTimestampDecoratorBuilder builder()
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
getDate
public java.sql.Timestamp getDate()
-
setDate
public SqlTimestampDecorator setDate(java.sql.Timestamp date)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toBuilder
public SqlTimestampDecorator.SqlTimestampDecoratorBuilder toBuilder()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-