Class DefaultTimestampStrategy
- java.lang.Object
-
- com.github.f4b6a3.ulid.strategy.timestamp.DefaultTimestampStrategy
-
- All Implemented Interfaces:
TimestampStrategy
public class DefaultTimestampStrategy extends Object implements TimestampStrategy
-
-
Constructor Summary
Constructors Constructor Description DefaultTimestampStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetTimestamp()Returns the count of milliseconds since 01-01-1970.
-
-
-
Method Detail
-
getTimestamp
public long getTimestamp()
Returns the count of milliseconds since 01-01-1970.- Specified by:
getTimestampin interfaceTimestampStrategy
-
-