UnixEpochDaysWithOrig returns the original on-disk representation if present, otherwise UnixEpochDays().
()
| 221 | // UnixEpochDaysWithOrig returns the original on-disk representation if |
| 222 | // present, otherwise UnixEpochDays(). |
| 223 | func (d Date) UnixEpochDaysWithOrig() int64 { |
| 224 | if d.hasOrig { |
| 225 | return d.orig |
| 226 | } |
| 227 | return d.UnixEpochDays() |
| 228 | } |
| 229 | |
| 230 | // Compare compares two dates. |
| 231 | func (d Date) Compare(other Date) int { |
nothing calls this directly
no test coverage detected