标签:
protected DateTime GetFinish(DateTime start, int duration) { return start.AddDays(duration); } protected DateTime GetStart(DateTime finish, int duration) { return finish.AddDays(-duration); } protected int GetDuration(DateTime start, DateTime finish) { return (finish - start).Days; }
标签:
原文地址:http://www.cnblogs.com/hxsyl/p/4736080.html