|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openpermis.policy.TimeStamp
public class TimeStamp
A read-only point in time.
Field Summary | |
---|---|
private Date |
date
|
private TimeZone |
timeZone
|
Constructor Summary | |
---|---|
TimeStamp(Date date,
TimeZone timeZone)
Creates point in time with date and zone. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
static TimeStamp |
fromCalendar(Calendar calendar)
Creates a time object from the current values of the specified calendar. |
Date |
getDate()
Returns the date. |
TimeZone |
getTimeZone()
Returns the time zone. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private final Date date
private final TimeZone timeZone
Constructor Detail |
---|
public TimeStamp(Date date, TimeZone timeZone)
date
- a Date
.timeZone
- a TimeZone
.Method Detail |
---|
public static TimeStamp fromCalendar(Calendar calendar)
calendar
- a Calendar
object.
TimeStamp
whose date and time zone correspond to that of the specified
calendar.public Date getDate()
public TimeZone getTimeZone()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:14:59
Copyright (c) 2002-2007 Ergon Informatik AG