@staticmethod
def elementEndTime(el, unused_node):
    """
        Use so that both OffsetTrees, which have elements which do not have a .endTime, and
        TimespanTrees, which have element that have an .endTime but not a duration, can
        use most of the same code.
        """
    return el.endTime
