java.lang.Object
org.apache.jena.sparql.util.DateTimeStruct
XSD date/time 7-component model.
Includes parsing xsd:dateTime, xsd:date and xsd:g*
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
hasDate()
boolean
hasTime()
boolean
boolean
isDate()
boolean
static DateTimeStruct
static DateTimeStruct
parseDateTime
(String str) static DateTimeStruct
static DateTimeStruct
parseGMonth
(String str) static DateTimeStruct
parseGMonthDay
(String str) static DateTimeStruct
parseGYear
(String str) static DateTimeStruct
parseGYearMonth
(String str) static DateTimeStruct
toString()
-
Field Details
-
neg
-
year
-
month
-
day
-
hour
-
minute
-
second
-
timezone
-
-
Constructor Details
-
DateTimeStruct
public DateTimeStruct()
-
-
Method Details
-
toString
-
hasDate
public boolean hasDate() -
hasTime
public boolean hasTime() -
hasTimezone
public boolean hasTimezone() -
isDate
public boolean isDate() -
isDateTime
public boolean isDateTime() -
parseDateTime
-
parseTime
-
parseDate
-
parseGYear
-
parseGYearMonth
-
parseGMonth
-
parseGMonthDay
-
parseGDay
-