Time returns the internal [time.Time] instance.
()
| 32 | |
| 33 | // Time returns the internal [time.Time] instance. |
| 34 | func (d DateTime) Time() time.Time { |
| 35 | return d.t |
| 36 | } |
| 37 | |
| 38 | // Add returns a new DateTime based on the current DateTime + the specified duration. |
| 39 | func (d DateTime) Add(duration time.Duration) DateTime { |
no outgoing calls