Package | Description |
---|---|
org.hippoecm.repository.util |
Modifier and Type | Field and Description |
---|---|
static DateTools.Resolution |
DateTools.Resolution.DAY |
static DateTools.Resolution |
DateTools.Resolution.HOUR |
static DateTools.Resolution |
DateTools.Resolution.MILLISECOND |
static DateTools.Resolution |
DateTools.Resolution.MINUTE |
static DateTools.Resolution |
DateTools.Resolution.MONTH |
static DateTools.Resolution |
DateTools.Resolution.SECOND |
static DateTools.Resolution |
DateTools.Resolution.WEEK |
static DateTools.Resolution |
DateTools.Resolution.YEAR |
Modifier and Type | Field and Description |
---|---|
static Map<String,DateTools.Resolution> |
DateTools.Resolution.RESOLUTIONSMAP |
Modifier and Type | Method and Description |
---|---|
static DateTools.Resolution[] |
DateTools.getSupportedDateResolutions()
Deprecated.
Use
DateTools.getSupportedResolutions() instead |
Modifier and Type | Method and Description |
---|---|
static Iterable<DateTools.Resolution> |
DateTools.getSupportedResolutions() |
Modifier and Type | Method and Description |
---|---|
static String |
DateTools.createXPathConstraint(javax.jcr.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.
|
Copyright © 2007–2019 Hippo B.V. (http://www.onehippo.com). All rights reserved.