/** * @return the list of plain timestamps in this content text */ public List<OrgRange> getTimestamps() { if (timestamps == null) { timestamps = new ArrayList<>(); } if (dirty) { reparse(); } return timestamps; }
public boolean hasTimestamps() { if (timestamps == null) { return false; } if (dirty) { reparse(); } return !timestamps.isEmpty(); }