Uses of Class
org.tentackle.common.Timestamp
-
Uses of Timestamp in org.tentackle.common
Fields in org.tentackle.common declared as TimestampModifier and TypeFieldDescriptionstatic final TimestampDateHelper.MIN_TIMESTAMPepochal timestamp zero: 1.1.1970 00:00:00.000 GMTMethods in org.tentackle.common that return TimestampModifier and TypeMethodDescriptionTimestamp.clone()static TimestampTimestamp.createFrozen(long epoch, int nanos) Creates a frozen timestamp.static TimestampDateHelper.now()Gets the current system time.static TimestampDateHelper.now(long offsetMillis) Gets the current system time plus an optional offset.static TimestampDateHelper.toTimestamp(Calendar cal) Converts a Calendar into a org.tentackle.misc.Timestamp.static TimestampDateHelper.toTimestamp(Date date) Converts a java.util.Date into a org.tentackle.misc.Timestamp.static TimestampConverts a string into a timestamp.Methods in org.tentackle.common with parameters of type TimestampModifier and TypeMethodDescriptionstatic voidSets the UTC flag null-safe.
Method provided to reduce generated code.static CalendarDateHelper.toCalendar(Timestamp timestamp) Creates a calendar for the given timestamp.
The calendar is created using the thread-local locale, if set, else the default locale.