Method Summary |
|
public synchronized String | getDatetime() Get the date & time in String format. |
public synchronized long | getGranularity() Get the timestamp granularity used by this ResourceSelector. |
public synchronized long | getMillis() Get the date/time in ms. |
public synchronized String | getPattern() Get the pattern for use with the datetime attribute. |
public synchronized TimeComparison | getWhen() Get the comparison mode. |
public synchronized boolean | isSelected(Resource r) Return true if this Resource is selected.
Parameters: r - the Resource to check. |
public synchronized void | setDateTime(String s) Set the date and time as a String. |
public synchronized void | setGranularity(long g) Set the granularity to use for this ResourceSelector. |
public synchronized void | setMillis(long m) Set the date/time in milliseconds since 1970. |
public synchronized void | setPattern(String p) Set the optional pattern to use with the datetime attribute. |
public synchronized void | setWhen(TimeComparison c) Set the comparison mode. |