make a parttime
new PartTime()
new PartTime("*-10-12")
new PartTime("1970-1-1")
new PartTime("1970-1-1T00:*")
new PartTime("*:00:00.000")
new PartTime("*:*:30")
new PartTime("1970-1-1T00:00:00.000")
String value representing a parttime. The string should be in a format recognized by the PartTime.parse() method (yyyy-mm-ddT00:00:00.000).
1-31
0-24
0-999
0-59
1-12 (not 0-11)
0-59
such as 2014
the date
the year
the hour
the milliseconds
the minutes
the month (0-11)
the seconds
yyyy-mm-dd.
yyyy-mm-ddT00:00:00.000.
00:00:00.000.
compare with DateLike
if date1 < date2 then negative else if date1 > date2 then positive else 0
Date, DateLike (has getFullYear, getMonth, ... getMilliseconds) or TimeProps
Date, DateLike (has getFullYear, getMonth, ... getMilliseconds) or TimeProps
get parttime data from parttime string
String value representing a parttime. The string should be in a format yyyy-mm-ddT00:00:00.000.
Hash data representing parttime.
Generated using TypeDoc
Creates a "PartTime" instance that represents a single moment in time with placeholder that is useful for compareing repeating moment. Currently, PartTime objects does not support timezones.