Time represents a time of day independent of a specific date or timezone.
Inheritance: FanObj
コード例 #1
0
ファイル: DateTimeStr.cs プロジェクト: nomit007/f4
 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);
 }