VirtualTimeComparison

public enum VirtualTimeComparison

Virtual time comparison result.

This is additional abstraction because Date is unfortunately not comparable. Extending Date with Comparable would be too risky because of possible collisions with other libraries.

  • lhs < rhs.

    Declaration

    Swift

    case lessThan
  • lhs == rhs.

    Declaration

    Swift

    case equal
  • lhs > rhs.

    Declaration

    Swift

    case greaterThan