Uses of Class
org.hippoecm.repository.util.DateTools.Resolution
-
Uses of DateTools.Resolution in org.hippoecm.repository.util
Modifier and TypeFieldDescriptionstatic final DateTools.Resolution
DateTools.Resolution.DAY
static final DateTools.Resolution
DateTools.Resolution.HOUR
static final DateTools.Resolution
DateTools.Resolution.MILLISECOND
static final DateTools.Resolution
DateTools.Resolution.MINUTE
static final DateTools.Resolution
DateTools.Resolution.MONTH
static final DateTools.Resolution
DateTools.Resolution.SECOND
static final DateTools.Resolution
DateTools.Resolution.WEEK
static final DateTools.Resolution
DateTools.Resolution.YEAR
Modifier and TypeFieldDescriptionstatic final Map<String,
DateTools.Resolution> DateTools.Resolution.RESOLUTIONSMAP
Modifier and TypeMethodDescriptionstatic DateTools.Resolution[]
DateTools.getSupportedDateResolutions()
Deprecated.Modifier and TypeMethodDescriptionstatic Iterable<DateTools.Resolution>
DateTools.getSupportedResolutions()
Modifier and TypeMethodDescriptionstatic String
DateTools.createXPathConstraint
(Session session, Calendar calendar, DateTools.Resolution roundDateBy) static String
DateTools.dateToString
(Date date, DateTools.Resolution resolution) Converts a Date to a string suitable for indexing.static String
DateTools.getPropertyForResolution
(String property, DateTools.Resolution resolution) static long
DateTools.round
(long time, DateTools.Resolution resolution) Limit a date's resolution.static Calendar
DateTools.roundDate
(long time, DateTools.Resolution resolution) Limit a date's resolution.static Date
DateTools.stringToDate
(String dateString, DateTools.Resolution resolution) static String
DateTools.timeToString
(long time, DateTools.Resolution resolution) Converts a millisecond time to a string suitable for indexing.
DateTools.getSupportedResolutions()
instead