public static DateRange RangeFuture(this DateTime? dt, ulong unitCount, TimeUnits unit) { return unit.Future(unitCount, dt); }
public static DateRange RangeFuture(this DateTime?dt, ulong unitCount, TimeUnits unit) { return(unit.Future(unitCount, dt)); }
/// <summary> /// Warning: bug found. dt.Offset may be incorrect as offsets could be different if range crosses daylight saving switch, i.e. October - December, or month of November in the EST USA. /// </summary> /// <param name="dt"></param> /// <param name="unitCount"></param> /// <param name="unit"></param> /// <returns></returns> public static TimeMomentRange RangeFuture(this DateTimeOffset? dt, ulong unitCount, TimeUnits unit) { return unit.Future(unitCount, dt); }
/// <summary> /// Warning: bug found. dt.Offset may be incorrect as offsets could be different if range crosses daylight saving switch, i.e. October - December, or month of November in the EST USA. /// </summary> /// <param name="dt"></param> /// <param name="unitCount"></param> /// <param name="unit"></param> /// <returns></returns> public static TimeMomentRange RangeFuture(this DateTimeOffset?dt, ulong unitCount, TimeUnits unit) { return(unit.Future(unitCount, dt)); }