Available on js
@:value(cast "day")@:enum@:implinlineread onlyDay:RelativeTimeUnit = "day"
@:value(cast "hour")@:enum@:implinlineread onlyHour:RelativeTimeUnit = "hour"
@:value(cast "minute")@:enum@:implinlineread onlyMinute:RelativeTimeUnit = "minute"
@:value(cast "month")@:enum@:implinlineread onlyMonth:RelativeTimeUnit = "month"
@:value(cast "quarter")@:enum@:implinlineread onlyQuarter:RelativeTimeUnit = "quarter"
@:value(cast "second")@:enum@:implinlineread onlySecond:RelativeTimeUnit = "second"
@:value(cast "week")@:enum@:implinlineread onlyWeek:RelativeTimeUnit = "week"
@:value(cast "year")@:enum@:implinlineread onlyYear:RelativeTimeUnit = "year"