operator - method

int operator -(
  1. DateTime other
)

计算差值

Implementation

int operator -(DateTime other) => this.difference(other).inMilliseconds;