A simple TimeStamp class developed with 4D / ORDA ; requires 4D v18 R4
// cs.TimeStamp.new()
// cs.TimeStamp.new(date)
// cs.TimeStamp.new(date ; time)
// setter function to set the date and time of the TimeStamp object
// if null is passed
// creates a
// sets the date of the TimeStamp object
// sets the time of the TimeStamp object
// clears the timeStamp with no values
// adds a number of day, month, or year to the timeStamp object
// adds n days to the date (or 1 day if no parameters)
// adds n months to the date (or 1 month if no parameters)
// adds n years to the date (or 1 year if no parameters)
// for comparing two TimeStamp objects
// for comparing two TimeStamp objects
// for comparing two TimeStamp objects
// returns true if the date part of the object matches with the parameter (e.g. date1.isEqualTo(date2))
// returns the date of the timestamp
// returns the time of the timestamp
// returns the year
// returns the month of the year (1 to 12)
// returns the day of the month
// returns a number from 1 to 7 ; starting from Sunday
// converts the TimeStamp object to string
// returns the iso 8601 format string
// returns the RFC 1123 format