duration.datevec (Tablicious v0.4.7)
Description: User manual for Tablicious for Octave.

#### 8.2.14.2 duration.datevec ¶

Method: `[dvec] =` datevec `(obj)` ¶
Method: `[Y, M, D, H, MN, S] =` datevec `(obj)` ¶

  Convert obj to a datevec whose elements represent the components of this duration. The components are the year, month, days, hour, minute, and second quantities of this duration. The years are in terms of fixed size years that are 365.2425 days long, and days are fixed size 24-hour days. The fixed size year size can be found in the FixedSizeYearDays constant class property on the duration class. The month component is always zero, since months are variable lengths and there is no equivalent fixed size month. Thus, the days component may be more than 31.

  When nargout is 0 or 1, returns a double array of size n-by-6, where n is `numel(obj)`. When nargout is 2 or more, returns double arrays the same size as obj.