internal DateTimeStr(string pattern, Locale locale, Time t) { this.pattern = pattern; this.m_locale = locale; this.hour = t.getHour(); this.min = t.getMin(); this.sec = t.getSec(); this.ns = t.getNanoSec(); }
internal static DateTime makeDT(Date d, Time t, TimeZone tz) { return new DateTime(d.m_year, d.m_month, d.m_day, t.m_hour, t.m_min, t.m_sec, t.m_ns, System.Int32.MaxValue, tz); }
////////////////////////////////////////////////////////////////////////// // Constructor - Date, Time ////////////////////////////////////////////////////////////////////////// internal static DateTime makeDT(Date d, Time t) { return makeDT(d, t, TimeZone.m_cur); }
public DateTime toDateTime(Time t, TimeZone tz) { return DateTime.makeDT(this, t, tz); }
public DateTime toDateTime(Time t) { return DateTime.makeDT(this, t); }