// ToTime64 attempts to cast the Boolean to a Time64.
// The result is not checked for an overflow.
// Use the ToTime64Checked version of this method if you need to check for
// an overflow.
ToTime64 attempts to cast the Boolean to a Time64.
The result is not checked for an overflow.
Use the ToTime64Checked version of this method if you need to check for
an overflow.
// ToTime64 attempts to cast the Boolean to a Time64 . // The result is not checked for an overflow . // Use the ToTime64Checked version of this method if you need to check for // an overflow .
func (t Boolean) ToTime64() Time64 {
	if t {
		return Time64(1)
	}
	return Time64(0)
}
func ( t Boolean ) ToTime64 ( ) Time64 { if t { return Time64 ( 1 ) } return Time64 ( 0 ) }
ToTime64 attempts to cast the Boolean to a Time64.
ToTime64 attempts to cast the Boolean to a Time64 .