method Temporal.Duration.compare Duration.compare(one: Temporal.Duration | DurationLike | string,two: Temporal.Duration | DurationLike | string,options?: DurationArithmeticOptions,): ComparisonResult Parameters one: Temporal.Duration | DurationLike | string two: Temporal.Duration | DurationLike | string optional options: DurationArithmeticOptions Return Type ComparisonResult