Class TimeUtils

java.lang.Object
org.aksw.iguana.commons.time.TimeUtils

public class TimeUtils extends Object
Class related to the conversion of Java time objects to RDF literals.
  • Constructor Details

    • TimeUtils

      public TimeUtils()
  • Method Details

    • createTypedDurationLiteralInSeconds

      public static org.apache.jena.rdf.model.Literal createTypedDurationLiteralInSeconds(Duration duration)
    • createTypedDurationLiteral

      public static org.apache.jena.rdf.model.Literal createTypedDurationLiteral(Duration duration)
    • createTypedInstantLiteral

      public static org.apache.jena.rdf.model.Literal createTypedInstantLiteral(Instant time)
    • createTypedZonedDateTimeLiteral

      public static org.apache.jena.rdf.model.Literal createTypedZonedDateTimeLiteral(ZonedDateTime time)