calquarters
datatypes: calD = calquarters (X)
Calendar duration in quarters.
calD = calquarters (X) returns a calendarDuration
array representing calendar quarters equivalent to the values in X,
which must be a numeric array of integer values.
calquarters is also available as a method for calendarDuration
arrays, in which case it performs the opposite conversion.
See also: calendarDuration, calyears, calmonths, calweeks, caldays, calendarDuration.calquarters
Source Code: calquarters
calquarters builds a calendar duration of whole quarters (each quarter is three months).
calquarters (3)
ans = calendarDuration 3q
Quarters combine with the other component builders.
calquarters (2) + calmonths (1)
ans = calendarDuration 2q 1mo