[expectations] Add support for duration expectations