public class DateUnixtimeSecondsTypeAdapter extends DateUnixtimeMillisTypeAdapter
| Constructor and Description |
|---|
DateUnixtimeSecondsTypeAdapter(boolean allowNegativeTimestamp) |
| Modifier and Type | Method and Description |
|---|---|
protected Date |
fromTimestamp(long timestamp) |
protected long |
toTimestamp(Date date) |
read, writepublic DateUnixtimeSecondsTypeAdapter(boolean allowNegativeTimestamp)
protected long toTimestamp(Date date)
toTimestamp in class DateUnixtimeMillisTypeAdapterprotected Date fromTimestamp(long timestamp)
fromTimestamp in class DateUnixtimeMillisTypeAdapterCopyright © 2015. All rights reserved.