IsZero checks whether the current DateTime instance has zero time value.
()
| 90 | |
| 91 | // IsZero checks whether the current DateTime instance has zero time value. |
| 92 | func (d DateTime) IsZero() bool { |
| 93 | return d.Time().IsZero() |
| 94 | } |
| 95 | |
| 96 | // String serializes the current DateTime instance into a formatted |
| 97 | // UTC date string. |