Constructors new XDate() Creates a new XDate with the current date and time new XDate(xdate) Creates a copy of the given XDate new XDate(nativeDate) Creates a new XDate from a native Date new XDate(milliseconds) Creates a new XDate that is milliseconds since the UTC epoch. new XDate(year, month, date, hours, minutes, seconds, milliseconds) Creates a new XDate from the given values. new XDate(dateS