Fan.Sys.DateTime.weekday C# (CSharp) Method

weekday() public method

public weekday ( ) : Weekday
return Weekday
        public Weekday weekday()
        {
            return Weekday.array[(m_fields >> 28) & 0x7];
        }

Usage Example

Example #1
0
 //////////////////////////////////////////////////////////////////////////
 // Constructors
 //////////////////////////////////////////////////////////////////////////
 internal DateTimeStr(string pattern, Locale locale, DateTime dt)
 {
     this.pattern  = pattern;
       this.m_locale = locale;
       this.year     = dt.getYear();
       this.mon      = dt.month();
       this.day      = dt.getDay();
       this.hour     = dt.getHour();
       this.min      = dt.getMin();
       this.sec      = dt.getSec();
       this.ns       = dt.getNanoSec();
       this.weekday  = dt.weekday();
       this.tz       = dt.tz();
       this.dst      = dt.dst();
 }
All Usage Examples Of Fan.Sys.DateTime::weekday