Class DateUtils
java.lang.Object
com.sath.idhub.util.DateUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringformat(ZonedDateTime zonedDateTime) static Stringformat(ZonedDateTime zonedDateTime, String pattern) static ZonedDateTimefromMilli(long epochMilli) static ZonedDateTimefromSeconds(long epochSecond) static Stringstatic org.bson.Documentstatic org.bson.DocumentgetMongoISODate(ZonedDateTime dateTime, long offsetInDays) static ZonedDateTimestatic ZonedDateTimenow()static ZonedDateTimestatic ZonedDateTime
-
Field Details
-
PATTERN
- See Also:
-
IDHUB_DATE_FORMAT
-
-
Constructor Details
-
DateUtils
public DateUtils()
-
-
Method Details
-
now
-
fromSeconds
-
fromMilli
-
getCurrentDate
-
format
-
format
-
parse
-
parse
-
getMongoISODate
public static org.bson.Document getMongoISODate() -
getMongoISODate
-
getTodayEndTime
-