Applies the given time value
in unit unit
to the src_time
.
Use negative value to subtract it. The time part is rounded to the beginning of the day.
src_time |
a time_t to apply the value to, or -1 to use the current time |
unit |
a TimeUnit |
value |
a value to apply |
|