public static int Subtract(Quarter left, Quarter right) => left.OffsetFrom(right);
public static Quarter Subtract(Quarter quarter, int numPeriods) => quarter.Offset(-numPeriods);
public static Quarter Add(Quarter quarter, int numPeriods) => quarter.Offset(numPeriods);
public int OffsetFrom(Quarter other) { return(_value - other._value); }
public bool Equals(Quarter other) { // ReSharper disable once ImpureMethodCallOnReadonlyValueField return(_value.Equals(other._value)); }
public int CompareTo(Quarter other) { // ReSharper disable once ImpureMethodCallOnReadonlyValueField return(_value.CompareTo(other._value)); }