计算两个日期相差多少分钟
static int daysBetweenMin(DateTime a, DateTime b) { int v = a.millisecondsSinceEpoch - b.millisecondsSinceEpoch; return v ~/ 60000; }