Time represents a time of day independent of a specific date or timezone.
Inheritance: 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
文件: DateTime.cs 项目: xored/f4
 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
文件: DateTime.cs 项目: xored/f4
 //////////////////////////////////////////////////////////////////////////
 // Constructor - Date, Time
 //////////////////////////////////////////////////////////////////////////
 internal static DateTime makeDT(Date d, Time t)
 {
     return makeDT(d, t, TimeZone.m_cur);
 }
示例#4
0
文件: Date.cs 项目: nomit007/f4
 public DateTime toDateTime(Time t, TimeZone tz)
 {
     return DateTime.makeDT(this, t, tz);
 }
示例#5
0
文件: Date.cs 项目: nomit007/f4
 public DateTime toDateTime(Time t)
 {
     return DateTime.makeDT(this, t);
 }