Implementation of POSIXct work-alike for 365 and 360 day