| 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 and Description |
|---|---|
TimeValue |
DatamodelConverter.copy(TimeValue object)
Copies a
TimeValue. |
static TimeValue |
Datamodel.makeTimeValue(long year,
byte month,
byte day,
byte hour,
byte minute,
byte second,
byte precision,
int beforeTolerance,
int afterTolerance,
int timezoneOffset,
String calendarModel)
Creates a
TimeValue. |
static TimeValue |
Datamodel.makeTimeValue(long year,
byte month,
byte day,
byte hour,
byte minute,
byte second,
int timezoneOffset,
String calendarModel)
Creates a
TimeValue for a given date and time. |
static TimeValue |
Datamodel.makeTimeValue(long year,
byte month,
byte day,
String calendarModel)
Creates a
TimeValue for a given date. |
| Modifier and Type | Method and Description |
|---|---|
TimeValue |
DatamodelConverter.copy(TimeValue object)
Copies a
TimeValue. |
static boolean |
Equality.equalsTimeValue(TimeValue o1,
Object o2)
Returns true if the parameters are two
TimeValue objects with
exactly the same data. |
static 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 String |
ToString.toString(TimeValue o)
Returns a human-readable string representation of the given object.
|
Value |
DatamodelConverter.visit(TimeValue value) |
| Modifier and Type | Class and Description |
|---|---|
class |
TimeValueImpl
Implementation of
TimeValue. |
| Modifier and Type | Method and Description |
|---|---|
TimeValue |
DataObjectFactoryImpl.getTimeValue(long year,
byte month,
byte day,
byte hour,
byte minute,
byte second,
byte precision,
int beforeTolerance,
int afterTolerance,
int timezoneOffset,
String calendarModel) |
| Modifier and Type | Method and Description |
|---|---|
TimeValue |
DataObjectFactory.getTimeValue(long year,
byte month,
byte day,
byte hour,
byte minute,
byte second,
byte precision,
int beforeTolerance,
int afterTolerance,
int timezoneOffset,
String calendarModel)
Creates a
TimeValue. |
| Modifier and Type | Method and Description |
|---|---|
T |
ValueVisitor.visit(TimeValue value)
Visits a TimeValue and returns a result.
|
| Modifier and Type | Method and Description |
|---|---|
TimeValue |
JacksonObjectFactory.getTimeValue(long year,
byte month,
byte day,
byte hour,
byte minute,
byte second,
byte precision,
int beforeTolerance,
int afterTolerance,
int timezoneOffset,
String calendarModel) |
| Modifier and Type | Class and Description |
|---|---|
class |
JacksonValueTime
Jackson implementation of
TimeValue. |
Copyright © 2014–2015 Wikidata Toolkit Developers. Generated from source code published under the Apache License 2.0. For more information, see the Wikidata Toolkit homepage