Time represents a time of day independent of a specific date or timezone.
Inheritance: FanObj
Beispiel #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();
 }
Beispiel #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);
 }
Beispiel #3
0
 //////////////////////////////////////////////////////////////////////////
 // Constructor - Date, Time
 //////////////////////////////////////////////////////////////////////////
 internal static DateTime makeDT(Date d, Time t)
 {
     return makeDT(d, t, TimeZone.m_cur);
 }
Beispiel #4
0
 public DateTime toDateTime(Time t, TimeZone tz)
 {
     return DateTime.makeDT(this, t, tz);
 }
Beispiel #5
0
 public DateTime toDateTime(Time t)
 {
     return DateTime.makeDT(this, t);
 }