Class ThingTimeProvider

java.lang.Object
dev.enola.thing.metadata.ThingTimeProvider

public class ThingTimeProvider extends Object
Provider of _"temporal"_ Time related metadata about Things.
  • Constructor Details

  • Method Details

    • existance

      public Iterable<Interval> existance(Thing thing)
      Provides the (non-overlapping) Intervals (plural!) during which the Thing at this IRI "exists".

      This always returns at least 1 Interval, never none (or null) - but it may well be the Interval.ALL if the Thing has no temporal metadata.