Time represents a time of day independent of a specific date or timezone.
Наследование: FanObj
Пример #1
0
 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();
 }
Пример #2
0
 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);
 }
Пример #3
0
 //////////////////////////////////////////////////////////////////////////
 // Constructor - Date, Time
 //////////////////////////////////////////////////////////////////////////
 internal static DateTime makeDT(Date d, Time t)
 {
     return makeDT(d, t, TimeZone.m_cur);
 }
Пример #4
0
 public DateTime toDateTime(Time t, TimeZone tz)
 {
     return DateTime.makeDT(this, t, tz);
 }
Пример #5
0
 public DateTime toDateTime(Time t)
 {
     return DateTime.makeDT(this, t);
 }