ISTime extension

num is in seconds

on

Properties

toCalendarYear num
convert seconds to years
read-only
toCentury num
convert seconds to centuries
read-only
toDay num
convert seconds to days
read-only
toDecade num
convert seconds to decades
read-only
toHour num
convert seconds to hours
read-only
toMicrosecond num
convert seconds to microseconds
read-only
toMillisecond num
convert seconds to milliseconds
read-only
toMinute num
convert seconds to minutes
read-only
toMonth num
convert secodns to months
read-only
toNanosecond num
convert seconds to nanoseconds
read-only
toWeek num
convert seconds to weeks
read-only

Methods

toSecond(TimeUnit unit) num
convert num from unit to seconds