|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.admin.ns.ValueComponent
com.novell.admin.ns.Value
com.novell.admin.ns.DateValue
Storage class for all syntaxes that use date and time.
This is an immutable class.
BooleanValue,
HexValue,
StringValue,
LongValue,
StreamValue,
Serialized Form| Constructor Summary | |
DateValue(Syntax syntax,
java.util.Date date)
Constructor that uses a Date object. |
|
DateValue(Syntax syntax,
long millis)
Constructs a DateValue object using an integer. |
|
| Method Summary | |
java.lang.String |
getGeneralizedTime()
Returns the value as a String in Generalized Time format. |
long |
getMillis()
Returns the value as an integer. |
java.util.Date |
getValue()
Returns the value as a Date. |
| Methods inherited from class com.novell.admin.ns.Value |
clone |
| Methods inherited from class com.novell.admin.ns.ValueComponent |
compareTo, equals, getSyntax, isWithinBounds, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DateValue(Syntax syntax,
java.util.Date date)
This constructor should only be called from date/time strategy classes and not directly in an application.
syntax - Associated syntax for this date value.date - The Date object.public DateValue(Syntax syntax,
long millis)
This constructor should only be called from date/time strategy classes and not directly in an application.
syntax - Associated syntax for this date value.millis - The milliseconds since Jan 1, 1970.| Method Detail |
public java.lang.String getGeneralizedTime()
public long getMillis()
public java.util.Date getValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||