| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private static final FileUtils | |
| private long | |
| private Long | |
| private static final String | |
| private String | |
| private TimeComparison |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized String | |
| public synchronized long | Returns: the long granularity.Get the timestamp granularity used by this ResourceSelector. |
| public synchronized long | |
| public synchronized String | Returns: a SimpleDateFormat-compatible pattern string.Get the pattern for use with the datetime attribute. |
| public synchronized TimeComparison | |
| public synchronized boolean | Returns: whether the Resource was selected.the Resource to check. r)Implements org. |
| public synchronized void | |
| public synchronized void | setGranularity(long
the timestamp granularity. g)Set the granularity to use for this ResourceSelector. |
| public synchronized void | |
| public synchronized void | setPattern(String
the SimpleDateFormat-compatible pattern string. p)Set the optional pattern to use with the datetime attribute. |
| public synchronized void |
| dateTime | back to summary |
|---|---|
| private String dateTime | |
| FILE_UTILS | back to summary |
|---|---|
| private static final FileUtils FILE_UTILS | |
| granularity | back to summary |
|---|---|
| private long granularity | |
| millis | back to summary |
|---|---|
| private Long millis | |
| MILLIS_OR_DATETIME | back to summary |
|---|---|
| private static final String MILLIS_OR_DATETIME | |
| pattern | back to summary |
|---|---|
| private String pattern | |
| when | back to summary |
|---|---|
| private TimeComparison when | |
| Date | back to summary |
|---|---|
| public Date() | |
| getDatetime | back to summary |
|---|---|
| public synchronized String getDatetime() Get the date and time in String format.
| |
| getGranularity | back to summary |
|---|---|
| public synchronized long getGranularity() Get the timestamp granularity used by this ResourceSelector.
| |
| getMillis | back to summary |
|---|---|
| public synchronized long getMillis() Get the date/time in ms.
| |
| getPattern | back to summary |
|---|---|
| public synchronized String getPattern() Get the pattern for use with the datetime attribute.
| |
| getWhen | back to summary |
|---|---|
| public synchronized TimeComparison getWhen() Get the comparison mode.
| |
| isSelected | back to summary |
|---|---|
| public synchronized boolean isSelected(Resource r) Implements org. Return true if this Resource is selected.
| |
| setDateTime | back to summary |
|---|---|
| public synchronized void setDateTime(String s) Set the date and time as a String.
| |
| setGranularity | back to summary |
|---|---|
| public synchronized void setGranularity(long g) Set the granularity to use for this ResourceSelector.
| |
| setMillis | back to summary |
|---|---|
| public synchronized void setMillis(long m) Set the date/time in milliseconds since 1970.
| |
| setPattern | back to summary |
|---|---|
| public synchronized void setPattern(String p) Set the optional pattern to use with the datetime attribute.
| |
| setWhen | back to summary |
|---|---|
| public synchronized void setWhen(TimeComparison c) Set the comparison mode.
| |