MakeTimeTZ creates a TimeTZ from a TimeOfDay and offset.
(t timeofday.TimeOfDay, offsetSecs int32)
| 57 | |
| 58 | // MakeTimeTZ creates a TimeTZ from a TimeOfDay and offset. |
| 59 | func MakeTimeTZ(t timeofday.TimeOfDay, offsetSecs int32) TimeTZ { |
| 60 | return TimeTZ{TimeOfDay: t, OffsetSecs: offsetSecs} |
| 61 | } |
| 62 | |
| 63 | // MakeTimeTZFromLocation creates a TimeTZ from a TimeOfDay and time.Location. |
| 64 | func MakeTimeTZFromLocation(t timeofday.TimeOfDay, loc *time.Location) TimeTZ { |
no outgoing calls
no test coverage detected
searching dependent graphs…