Modifier and Type | Method and Description |
---|---|
Time |
WebExternalResourceStream.lastModifiedTime() |
Time |
UrlResourceStream.lastModifiedTime() |
Time |
PackageResourceStream.lastModifiedTime() |
Modifier and Type | Method and Description |
---|---|
Time |
MarkupResourceStream.lastModifiedTime() |
Modifier and Type | Method and Description |
---|---|
Time |
MockWebRequest.getDateHeader(String name) |
Time |
MockWebResponse.getDateHeader(String name) |
Modifier and Type | Method and Description |
---|---|
void |
MockWebRequest.addDateHeader(String name,
Time value)
Adds date header for given name.
|
void |
MockWebRequest.setDateHeader(String name,
Time value)
Sets date header for given name.
|
void |
MockWebResponse.setDateHeader(String name,
Time date) |
Modifier and Type | Method and Description |
---|---|
void |
PartialPageUpdate.ResponseBuffer.setDateHeader(String name,
Time date) |
Modifier and Type | Method and Description |
---|---|
void |
BufferedWebResponse.setDateHeader(String name,
Time date) |
Modifier and Type | Method and Description |
---|---|
Time |
ServletWebRequest.getDateHeader(String name) |
Modifier and Type | Method and Description |
---|---|
void |
ServletWebResponse.setDateHeader(String name,
Time date) |
Modifier and Type | Method and Description |
---|---|
void |
WebSocketResponse.setDateHeader(String name,
Time date) |
Modifier and Type | Method and Description |
---|---|
Time |
HttpHeaderCollection.getDateHeader(String name)
Gets the header identified with the name as a Time
|
Modifier and Type | Method and Description |
---|---|
void |
HttpHeaderCollection.addDateHeader(String name,
Time time)
add date header value
|
void |
HttpHeaderCollection.setDateHeader(String name,
Time time)
add date header value
|
Modifier and Type | Method and Description |
---|---|
abstract Time |
WebRequest.getDateHeader(String name)
Returns the value of the specified request header as a
long value that
represents a Date object. |
Time |
WebRequest.getIfModifiedSinceHeader()
Convenience method for retrieving If-Modified-Since header.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
WebResponse.setDateHeader(String name,
Time date)
Set a header to the date value in the servlet response stream.
|
void |
WebResponse.setLastModifiedTime(Time time)
Set the contents last modified time, if appropriate in the subclass.
|
Modifier and Type | Method and Description |
---|---|
Time |
AbstractResource.ResourceResponse.getLastModified() |
Modifier and Type | Method and Description |
---|---|
AbstractResource.ResourceResponse |
AbstractResource.ResourceResponse.setLastModified(Time lastModified)
Sets the last modified data of the resource.
|
protected void |
DynamicImageResource.setLastModifiedTime(Time time)
set the last modified time for this resource.
|
Modifier and Type | Method and Description |
---|---|
protected Time |
ConcatBundleResource.findLastModified(List<IResourceStream> resources) |
Modifier and Type | Method and Description |
---|---|
static Time |
Files.getLastModified(File file)
get last modification timestamp for file
|
Time |
File.lastModifiedTime()
Returns a Time object representing the most recent time this file was modified.
|
Modifier and Type | Method and Description |
---|---|
static Time |
Connections.getLastModified(URL url)
Gets last modified date of the given
URL |
Modifier and Type | Method and Description |
---|---|
Time |
AbstractResourceStreamWriter.lastModifiedTime()
Just returns now.
|
Time |
FileResourceStream.lastModifiedTime() |
Time |
ZipResourceStream.lastModifiedTime() |
Time |
ResourceStreamWrapper.lastModifiedTime() |
Time |
XSLTResourceStream.lastModifiedTime()
Returns always null
|
Time |
AbstractResourceStream.lastModifiedTime() |
Time |
FileSystemResourceStream.lastModifiedTime() |
Time |
AbstractStringResourceStream.lastModifiedTime() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractStringResourceStream.setLastModified(Time lastModified) |
Modifier and Type | Method and Description |
---|---|
Time |
StringValue.toOptionalTime()
Convert to object types, returning null if text is null or empty.
|
Time |
StringValue.toTime()
Convert this text to a time instance.
|
Time |
StringValue.toTime(Time defaultValue)
Convert to time, returning default value if text is inconvertible.
|
Modifier and Type | Method and Description |
---|---|
Time |
StringValue.toTime(Time defaultValue)
Convert to time, returning default value if text is inconvertible.
|
Modifier and Type | Method and Description |
---|---|
Time |
TextTemplateDecorator.lastModifiedTime() |
Modifier and Type | Method and Description |
---|---|
void |
TextTemplateDecorator.setLastModified(Time lastModified) |
Modifier and Type | Method and Description |
---|---|
void |
Task.setStartTime(Time startTime)
Sets start time for this task.
|
Modifier and Type | Field and Description |
---|---|
static Time |
Time.START_OF_UNIX_TIME
the beginning of UNIX time: January 1, 1970, 0:00 GMT.
|
Modifier and Type | Method and Description |
---|---|
Time |
Time.add(Duration duration)
Adds the given
Duration to this Time object, moving the time into
the future. |
Time |
TimeFrame.getEnd()
Retrieves the end
Time of this TimeFrame . |
Time |
TimeFrame.getStart()
Retrieves the start
Time of this TimeFrame . |
static Time |
Time.millis(long time)
Retrieves a
Time instance based on the given milliseconds. |
Time |
TimeOfDay.next()
Retrieves the next occurrence of this
TimeOfDay in local time. |
Time |
TimeOfDay.next(Calendar calendar)
Retrieves the next occurrence of this
TimeOfDay on the given
Calendar . |
static Time |
Time.now()
Retrieves a
Time instance based on the current time. |
static Time |
Time.parseDate(Calendar calendar,
String string)
Retrieves a
Time instance by parsing 'yyyy.MM.dd' format. |
static Time |
Time.parseDate(String string)
Retrieves a
Time instance by parsing 'yyyy.MM.dd' format using a local time
Calendar . |
Time |
Time.subtract(Duration duration)
Subtracts the given
Duration from this Time object, moving the time
into the past. |
static Time |
Time.valueOf(Calendar calendar,
String string)
Retrieves a
Time instance by parsing 'yyyy.MM.dd-h.mma' format. |
static Time |
Time.valueOf(Calendar calendar,
TimeOfDay timeOfDay)
|
static Time |
Time.valueOf(Date date)
Retrieves a
Time instance based on the given Date object. |
static Time |
Time.valueOf(String string)
Retrieves a
Time instance by parsing 'yyyy.MM.dd-h.mma' format. |
static Time |
Time.valueOf(String string,
String pattern)
Retrieves a
Time instance by parsing 'pattern' format. |
static Time |
Time.valueOf(TimeOfDay timeOfDay)
Retrieves a
Time instance based on the given TimeOfDay object. |
Modifier and Type | Method and Description |
---|---|
boolean |
TimeFrame.contains(Time time)
Determines if this
TimeFrame contains a given point in time. |
static Duration |
Duration.elapsed(Time start)
Calculates the amount of time elapsed since start time.
|
Object |
TimeMap.get(Time time)
Retrieves an
Object for the given Time value. |
Duration |
Time.subtract(Time that)
Subtract time from this and returns the difference as a
Duration object. |
static TimeOfDay |
TimeOfDay.valueOf(Calendar calendar,
Time time)
Converts a
Time instance and Calendar to a TimeOfDay
instance. |
static TimeOfDay |
TimeOfDay.valueOf(Time time)
Converts a
String value to a TimeOfDay instance. |
static TimeFrame |
TimeFrame.valueOf(Time start,
Duration duration)
Creates a
TimeFrame for a start Time and Duration . |
static TimeFrame |
TimeFrame.valueOf(Time start,
Time end)
Creates a
TimeFrame for given start and end Time s. |
Modifier and Type | Method and Description |
---|---|
Time |
ValueMap.getAsTime(String key) |
Time |
IValueMap.getAsTime(String key)
Retrieves a
Time value by key. |
Time |
CopyOnWriteValueMap.getAsTime(String key) |
Time |
ValueMap.getAsTime(String key,
Time defaultValue) |
Time |
IValueMap.getAsTime(String key,
Time defaultValue)
Retrieves a
Time value by key. |
Time |
CopyOnWriteValueMap.getAsTime(String key,
Time defaultValue) |
Time |
ValueMap.getTime(String key) |
Time |
IValueMap.getTime(String key)
Retrieves a
Time object by key. |
Time |
CopyOnWriteValueMap.getTime(String key) |
Modifier and Type | Method and Description |
---|---|
Time |
ValueMap.getAsTime(String key,
Time defaultValue) |
Time |
IValueMap.getAsTime(String key,
Time defaultValue)
Retrieves a
Time value by key. |
Time |
CopyOnWriteValueMap.getAsTime(String key,
Time defaultValue) |
Modifier and Type | Field and Description |
---|---|
Time |
ModificationWatcher.Entry.lastModifiedTime |
Modifier and Type | Method and Description |
---|---|
Time |
IModifiable.lastModifiedTime()
Gets the last time this modifiable thing changed.
|
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.