Uses of Interface
org.wikidata.wdtk.datamodel.interfaces.TimeValue
Packages that use TimeValue
Package
Description
Package for mostly static helper code to work with data objects.
Basic implementation for objects representing Wikibase data and related factories.
Interfaces for representing Wikibase data and related factories.
Serializer for RDF
Package for code related to the conversion of data values to RDF in various ways.
-
Uses of TimeValue in org.wikidata.wdtk.datamodel.helpers
Methods in org.wikidata.wdtk.datamodel.helpers that return TimeValueModifier and TypeMethodDescriptionCopies aTimeValue.static TimeValueDatamodel.makeTimeValue(long year, byte month, byte day, byte hour, byte minute, byte second, byte precision, int beforeTolerance, int afterTolerance, int timezoneOffset, String calendarModel) Creates aTimeValue.static TimeValueDatamodel.makeTimeValue(long year, byte month, byte day, byte hour, byte minute, byte second, int timezoneOffset, String calendarModel) Creates aTimeValuefor a given date and time.static TimeValueDatamodel.makeTimeValue(long year, byte month, byte day, String calendarModel) Creates aTimeValuefor a given date.Methods in org.wikidata.wdtk.datamodel.helpers with parameters of type TimeValueModifier and TypeMethodDescriptionCopies aTimeValue.static booleanEquality.equalsTimeValue(TimeValue o1, Object o2) Returnstrueif the parameters are twoTimeValueobjects with exactly the same data.static StringDataFormatter.formatTimeISO8601(TimeValue value) Returns a representation of the date from the value attributes as ISO 8601 encoding.static intReturns a hash code for the given object.static StringReturns a human-readable string representation of the given object. -
Uses of TimeValue in org.wikidata.wdtk.datamodel.implementation
Classes in org.wikidata.wdtk.datamodel.implementation that implement TimeValueMethods in org.wikidata.wdtk.datamodel.implementation that return TimeValueModifier and TypeMethodDescriptionDataObjectFactoryImpl.getTimeValue(long year, byte month, byte day, byte hour, byte minute, byte second, byte precision, int beforeTolerance, int afterTolerance, int timezoneOffset, String calendarModel) TimeValueImpl.toGregorian() -
Uses of TimeValue in org.wikidata.wdtk.datamodel.interfaces
Methods in org.wikidata.wdtk.datamodel.interfaces that return TimeValueModifier and TypeMethodDescriptiondefault TimeValueStatementDocument.findStatementTimeValue(String propertyId) Returns the uniqueTimeValuefor the given property, or null if there are zero or many such values given in statements for this property.default TimeValueStatementDocument.findStatementTimeValue(PropertyIdValue propertyIdValue) Returns the uniqueTimeValuefor the given property, or null if there are zero or many such values given in statements for this property.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 aTimeValue.TimeValue.toGregorian()Convert the value to the Gregorian calendar, if possible.Methods in org.wikidata.wdtk.datamodel.interfaces with parameters of type TimeValue -
Uses of TimeValue in org.wikidata.wdtk.rdf
Methods in org.wikidata.wdtk.rdf with parameters of type TimeValueModifier and TypeMethodDescriptionstatic StringVocabulary.getTimeValueUri(TimeValue value) PropertyRegister.setPropertyTypeFromTimeValue(PropertyIdValue propertyIdValue, TimeValue value) Returns the IRI of the primitive Type of an Property forTimeValueobjects. -
Uses of TimeValue in org.wikidata.wdtk.rdf.values
Methods in org.wikidata.wdtk.rdf.values with parameters of type TimeValueModifier and TypeMethodDescriptionorg.eclipse.rdf4j.model.ValueTimeValueConverter.getRdfValue(TimeValue value, PropertyIdValue propertyIdValue, boolean simple) org.eclipse.rdf4j.model.ValuevoidTimeValueConverter.writeValue(TimeValue value, org.eclipse.rdf4j.model.Resource resource) Write the auxiliary RDF data for encoding the given value.