| org.sakaiproject.time.api.Time
All known Subclasses: org.sakaiproject.time.impl.MyTime,
Method Summary | |
boolean | after(Time other) Is this time after the other time?
Parameters: other - The other time for the comparison. | boolean | before(Time other) Is this time before the other time?
Parameters: other - The other time for the comparison. | TimeBreakdown | breakdownGmt() | TimeBreakdown | breakdownLocal() | Object | clone() Make a clone. | String | getDisplay() | long | getTime() Access the milliseconds since. | void | setTime(long value) Set the time in milliseconds since. | String | toStringFilePath() Format as a file path based on the date and time. | String | toStringGmtDate() Format as a string, Human Readable, date only format, GMT. | String | toStringGmtFull() Format as a string, Human Readable, full format, GMT. | String | toStringGmtShort() Format as a string, Human Readable, short (time only) format, GMT. | String | toStringGmtTime() Format as a string, Human Readable, time only format, GMT. | String | toStringLocal() Format as a string, Local time zone. | String | toStringLocalDate() Format as a string, Human Readable, date only format, Local. | String | toStringLocalFull() Format as a string, Human Readable, full format, Local. | String | toStringLocalFullZ() Format as a string, Human Readable, full format, Local, with zone. | String | toStringLocalShort() Format as a string, Human Readable, short (time only) format, Local. | String | toStringLocalShortDate() Format as a string, short format: MM/DD/YY, Local. | String | toStringLocalTime() Format as a string, Human Readable, time only format, Local. | String | toStringLocalTime24() Format as a string, Human Readable, time only format, 24hour Local. | String | toStringLocalTimeZ() Format as a string, Human Readable, time only format, Local, with zone. | String | toStringRFC822Local() Format as a string, RFC822 format:
Sun, 14 Aug 2005 16:13:03 UTC. | String | toStringSql() Format as a string, GMT, for a SQL statement. |
after | boolean after(Time other)(Code) | | Is this time after the other time?
Parameters: other - The other time for the comparison. true if this time is after the other, false if not. |
before | boolean before(Time other)(Code) | | Is this time before the other time?
Parameters: other - The other time for the comparison. true if this time is before the other, false if not. |
breakdownGmt | TimeBreakdown breakdownGmt()(Code) | | Access the time value as a TimeBreakdown object, in GMT
A TimeBreakdown object representing this time's value in GMT |
breakdownLocal | TimeBreakdown breakdownLocal()(Code) | | Access the time value as a TimeBreakdown object, in Local
A TimeBreakdown object representing this time's value in GMT |
getDisplay | String getDisplay()(Code) | | Access the time in a common human readable display format
The time string in human readable format. |
getTime | long getTime()(Code) | | Access the milliseconds since.
The milliseconds since value. |
setTime | void setTime(long value)(Code) | | Set the time in milliseconds since.
Parameters: value - The milliseconds since value for the time. |
toStringFilePath | String toStringFilePath()(Code) | | Format as a file path based on the date and time.
Time is string format. |
toStringGmtDate | String toStringGmtDate()(Code) | | Format as a string, Human Readable, date only format, GMT.
Time in string format. |
toStringGmtFull | String toStringGmtFull()(Code) | | Format as a string, Human Readable, full format, GMT.
Time in string format. |
toStringGmtShort | String toStringGmtShort()(Code) | | Format as a string, Human Readable, short (time only) format, GMT.
Time in string format. |
toStringGmtTime | String toStringGmtTime()(Code) | | Format as a string, Human Readable, time only format, GMT.
Time in string format. |
toStringLocal | String toStringLocal()(Code) | | Format as a string, Local time zone.
Time in string format. |
toStringLocalDate | String toStringLocalDate()(Code) | | Format as a string, Human Readable, date only format, Local.
Time in string format. |
toStringLocalFull | String toStringLocalFull()(Code) | | Format as a string, Human Readable, full format, Local.
Time in string format. |
toStringLocalFullZ | String toStringLocalFullZ()(Code) | | Format as a string, Human Readable, full format, Local, with zone.
Time in string format. |
toStringLocalShort | String toStringLocalShort()(Code) | | Format as a string, Human Readable, short (time only) format, Local.
Time in string format. |
toStringLocalShortDate | String toStringLocalShortDate()(Code) | | Format as a string, short format: MM/DD/YY, Local.
Time in string format. |
toStringLocalTime | String toStringLocalTime()(Code) | | Format as a string, Human Readable, time only format, Local.
Time in string format. |
toStringLocalTime24 | String toStringLocalTime24()(Code) | | Format as a string, Human Readable, time only format, 24hour Local.
Time in string format. |
toStringLocalTimeZ | String toStringLocalTimeZ()(Code) | | Format as a string, Human Readable, time only format, Local, with zone.
Time in string format. |
toStringRFC822Local | String toStringRFC822Local()(Code) | | Format as a string, RFC822 format:
Sun, 14 Aug 2005 16:13:03 UTC.
http://www.w3.org/Protocols/rfc822/
Time in string format per RFC822. |
toStringSql | String toStringSql()(Code) | | Format as a string, GMT, for a SQL statement.
Time in string format. |
|
|