public boolean contains(Time t) { // Check if this time contains other time return getRange().contains(t.getRange()); }
public boolean contains(Time t) { // Check if this time contains other time return getRange().contains(t.getRange()); }
public boolean contains(Time t) { // Check if this time contains other time return getRange().contains(t.getRange()); }
public Time intersect(Time t) { if (t.getRange().contains(this.getRange())) { return this; } else { return null; } }
public Temporal intersect(Temporal other) { if (other == null) return this; if (other == TIME_UNKNOWN) return this; if (other.getRange().contains(this.getRange())) { return this; } else { return null; } }
public Time intersect(Time t) { if (t.getRange().contains(this.getRange())) { return this; } else { return null; } }
@Override public Temporal intersect(Temporal other) { if (other == null) return this; if (other == TIME_UNKNOWN) return this; if (other.getRange().contains(this.getRange())) { return this; } else { return null; } }
public Temporal intersect(Temporal other) { if (other == null) return this; if (other == TIME_UNKNOWN) return this; if (other.getRange().contains(this.getRange())) { return this; } else { return null; } }
@Override public Time intersect(Time t) { if (t.getRange().contains(this.getRange())) { return this; } else { return null; } }
public boolean contains(Time t) { // Check if this time contains other time return getRange().contains(t.getRange()); }
@Override public Time intersect(Time t) { if (t.getRange().contains(this.getRange())) { return this; } else { return null; } }
@Override public Temporal intersect(Temporal other) { if (other == null) return this; if (other == TIME_UNKNOWN) return this; if (other.getRange().contains(this.getRange())) { return this; } else { return null; } }