Add comparison for Period.