public interface TimestampFormatter
Timestamps
.Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
format(Timestamp timestamp) |
Formats a timestamp.
|
boolean |
isValid(java.lang.String timestamp) |
Checks whether a formatted timestamp is compatible with the pattern of this formatter.
|
boolean isValid(java.lang.String timestamp)
timestamp
- Formatted timestamptrue
if the given timestamp is compatible with the pattern of this formatter, false
if
notjava.lang.String format(Timestamp timestamp)
timestamp
- Timestamp to formatCopyright © 2018. All rights reserved.