示例#1
0
 public static DateTime GetTimestampInEST(this ITimestampedDateMinute timestampedObj) =>
 DateTime.Parse(timestampedObj.date + ' ' + timestampedObj.minute);
示例#2
0
 public static DateTime GetTimestampInUTC(this ITimestampedDateMinute timestampedObj) =>
 TimeZoneInfo.ConvertTimeToUtc(DateTime.Parse(timestampedObj.date + ' ' + timestampedObj.minute), EST);