DTimestamp is the timestamp Datum.
| 2597 | |
| 2598 | // DTimestamp is the timestamp Datum. |
| 2599 | type DTimestamp struct { |
| 2600 | // DTimestamp represents a timezoneless date and time value. It is stored in |
| 2601 | // the time.Time as if it had UTC location, regardless of what timezone it |
| 2602 | // actually represents (which is unknown within the database). See comment |
| 2603 | // above ParseTimestampWithoutTimezone for some examples. |
| 2604 | time.Time |
| 2605 | } |
| 2606 | |
| 2607 | // MakeDTimestamp creates a DTimestamp with specified precision. |
| 2608 | func MakeDTimestamp(t time.Time, precision time.Duration) (_ *DTimestamp, err error) { |
nothing calls this directly
no outgoing calls
no test coverage detected