Trimestre
Restituisce o imposta il trimestre.
TIP
È necessario il plugin QuarterOfYear per il corretto funzionamento.
js
dayjs.extend(quarterOfYear);
dayjs('2010-04-01').quarter(); // 2
dayjs('2010-04-01').quarter(2); // Restituisce un nuovo oggetto dayjs.