public static HTimeZone Map(HaystackTimeZone value) { return(new HTimeZone(value)); }
public HaystackDateTime(DateTimeOffset dateTime, HaystackTimeZone timeZone) { Value = dateTime; TimeZone = timeZone; }
public HaystackDateTime(HaystackDate date, HaystackTime time, HaystackTimeZone timeZone) { Value = new DateTimeOffset(date.Value + time.Value, timeZone.TimeZoneInfo.BaseUtcOffset); TimeZone = timeZone; }
public static HaystackDateTime Now(HaystackTimeZone tz) => new HaystackDateTime(System.DateTime.Now, tz);
public HTimeZone(HaystackTimeZone source) { Source = source; }