forked from HowardHinnant/date
Change the implementation, in the way that mismatch in return type of the from/to_sys/utc functions (not returning time_point, or returning time_point with inappropriate clock) leads to hard error. Added appropariate fail test for to_sys function, including: * returning an int * returning time_point of wrong clock * reutrning reference to time_point