| Package | Description |
|---|---|
| org.wikidata.wdtk.datamodel.helpers |
Package for mostly static helper code to work with data objects.
|
| org.wikidata.wdtk.datamodel.implementation |
Basic implementation for objects representing Wikibase data and related factories.
|
| org.wikidata.wdtk.datamodel.interfaces |
Interfaces for representing Wikibase data and related factories.
|
| org.wikidata.wdtk.datamodel.json.jackson |
Main package for Jackson-compatible implementations of the WDTK datamodel
interfaces.
|
| org.wikidata.wdtk.datamodel.json.jackson.datavalues |
Jackson-compatible implementation of all WDTK
Value interfaces for use as
snak values. |
| Modifier and Type | Method | Description |
|---|---|---|
TimeValue |
DatamodelConverter.copy(TimeValue object) |
Copies a
TimeValue. |
TimeValue |
AbstractTermedStatementDocument.findStatementTimeValue(java.lang.String propertyId) |
|
TimeValue |
AbstractTermedStatementDocument.findStatementTimeValue(PropertyIdValue propertyIdValue) |
|
static TimeValue |
Datamodel.makeTimeValue(long year,
byte month,
byte day,
byte hour,
byte minute,
byte second,
byte precision,
int beforeTolerance,
int afterTolerance,
int timezoneOffset,
java.lang.String calendarModel) |
Creates a
TimeValue. |
static TimeValue |
Datamodel.makeTimeValue(long year,
byte month,
byte day,
byte hour,
byte minute,
byte second,
int timezoneOffset,
java.lang.String calendarModel) |
Creates a
TimeValue for a given date and time. |
static TimeValue |
Datamodel.makeTimeValue(long year,
byte month,
byte day,
java.lang.String calendarModel) |
Creates a
TimeValue for a given date. |
| Modifier and Type | Method | Description |
|---|---|---|
TimeValue |
DatamodelConverter.copy(TimeValue object) |
Copies a
TimeValue. |
static boolean |
Equality.equalsTimeValue(TimeValue o1,
java.lang.Object o2) |
Returns true if the parameters are two
TimeValue objects with
exactly the same data. |
static java.lang.String |
DataFormatter.formatTimeISO8601(TimeValue value) |
Returns a representation of the date from the value attributes as ISO
8601 encoding.
|
static int |
Hash.hashCode(TimeValue o) |
Returns a hash code for the given object.
|
static java.lang.String |
ToString.toString(TimeValue o) |
Returns a human-readable string representation of the given object.
|
Value |
DatamodelConverter.visit(TimeValue value) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
TimeValueImpl |
Implementation of
TimeValue. |
| Modifier and Type | Method | Description |
|---|---|---|
TimeValue |
DataObjectFactoryImpl.getTimeValue(long year,
byte month,
byte day,
byte hour,
byte minute,
byte second,
byte precision,
int beforeTolerance,
int afterTolerance,
int timezoneOffset,
java.lang.String calendarModel) |
| Modifier and Type | Method | Description |
|---|---|---|
TimeValue |
StatementDocument.findStatementTimeValue(java.lang.String propertyId) |
Returns the unique
TimeValue for the given property, or null if
there are zero or many such values given in statements for this property. |
TimeValue |
StatementDocument.findStatementTimeValue(PropertyIdValue propertyIdValue) |
Returns the unique
TimeValue for the given property, or null if
there are zero or many such values given in statements for this property. |
TimeValue |
DataObjectFactory.getTimeValue(long year,
byte month,
byte day,
byte hour,
byte minute,
byte second,
byte precision,
int beforeTolerance,
int afterTolerance,
int timezoneOffset,
java.lang.String calendarModel) |
Creates a
TimeValue. |
| Modifier and Type | Method | Description |
|---|---|---|
T |
ValueVisitor.visit(TimeValue value) |
Visits a TimeValue and returns a result.
|
| Modifier and Type | Method | Description |
|---|---|---|
TimeValue |
JacksonObjectFactory.getTimeValue(long year,
byte month,
byte day,
byte hour,
byte minute,
byte second,
byte precision,
int beforeTolerance,
int afterTolerance,
int timezoneOffset,
java.lang.String calendarModel) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
JacksonValueTime |
Jackson implementation of
TimeValue. |
Copyright © 2014–2017 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage