|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deri.iris.terms.concrete.Time
public class Time
Simple implementation of ITime.
| Method Summary | |
|---|---|
int |
compareTo(ITerm o)
|
boolean |
equals(Object obj)
|
URI |
getDatatypeIRI()
Returns the fully qualified identifier for the data type corresponding to this term. |
double |
getDecimalSecond()
Return the complete floating point representation of the seconds components. |
int |
getHour()
Returns the hour of the day. |
int |
getMillisecond()
Returns the milliseconds of the second. |
int |
getMinute()
Returns the minute of the hour. |
int |
getSecond()
Returns the seconds of the minute. |
TimeZone |
getTimeZone()
Returns the Timezone. |
protected static int |
getTimeZoneHour(TimeZone tz)
|
protected static int |
getTimeZoneMinute(TimeZone tz)
|
XMLGregorianCalendar |
getValue()
Return the wrapped type. |
int |
hashCode()
|
boolean |
isGround()
Checks whether the term is ground (a term with no variables). |
String |
toCanonicalString()
Returns a canonical string representation of this term. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public int compareTo(ITerm o)
compareTo in interface Comparable<ITerm>public boolean equals(Object obj)
equals in class Objectpublic int getHour()
ITime
getHour in interface ITimepublic int getMinute()
ITime
getMinute in interface ITimepublic int getSecond()
ITime
getSecond in interface ITimepublic int getMillisecond()
ITime
getMillisecond in interface ITimepublic double getDecimalSecond()
ITime
getDecimalSecond in interface ITimepublic TimeZone getTimeZone()
ITime
getTimeZone in interface ITimepublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectprotected static int getTimeZoneHour(TimeZone tz)
protected static int getTimeZoneMinute(TimeZone tz)
public boolean isGround()
ITerm
isGround in interface ITermtrue if the term is ground,
otherwise false.public XMLGregorianCalendar getValue()
ITime
getValue in interface ITimegetValue in interface ITermpublic URI getDatatypeIRI()
IConcreteTerm
getDatatypeIRI in interface IConcreteTermpublic String toCanonicalString()
IConcreteTerm
toCanonicalString in interface IConcreteTerm
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||