getSec() public method

public getSec ( ) : int
return int
Example #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();
 }
Example #2
0
 internal DateTimeStr(string pattern, Locale locale, Time t)
 {
     this.pattern  = pattern;
     this.m_locale = locale;
     this.val      = t;
     this.hour     = t.getHour();
     this.min      = t.getMin();
     this.sec      = t.getSec();
     this.ns       = t.getNanoSec();
 }