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