This document is for an older version of
Calendar
.
View latest version →
Duration object
Properties
humanReadable
#- returns a human readable string of the duration, e.g. -
2d 1h 15m
- returns a human readable string of the duration, e.g. -
years
#- returns an
int
of the difference in years
- returns an
months
#- returns an
int
difference in months
- returns an
days
#- returns an
int
difference in days
- returns an
hours
#- returns an
int
difference in hours
- returns an
minutes
#- returns an
int
difference in minutes
- returns an
seconds
#- returns an
int
difference in seconds
- returns an