// ToDayTimeInterval attempts to cast the Boolean to a DayTimeInterval.
// The result is not checked for an overflow.
// Use the ToDayTimeIntervalChecked version of this method if you need to check for
// an overflow.
ToDayTimeInterval attempts to cast the Boolean to a DayTimeInterval.
The result is not checked for an overflow.
Use the ToDayTimeIntervalChecked version of this method if you need to check for
an overflow.
// ToDayTimeInterval attempts to cast the Boolean to a DayTimeInterval . // The result is not checked for an overflow . // Use the ToDayTimeIntervalChecked version of this method if you need to check for // an overflow .
func (t Boolean) ToDayTimeInterval() DayTimeInterval {
	if t {
		return DayTimeInterval(arrow.DayTimeInterval{Days: 0, Milliseconds: 1})
	}
	return DayTimeInterval(arrow.DayTimeInterval{Days: 0, Milliseconds: 0})
}
func ( t Boolean ) ToDayTimeInterval ( ) DayTimeInterval { if t { return DayTimeInterval ( arrow . DayTimeInterval { Days : 0 , Milliseconds : 1 } ) } return DayTimeInterval ( arrow . DayTimeInterval { Days : 0 , Milliseconds : 0 } ) }
ToDayTimeInterval attempts to cast the Boolean to a DayTimeInterval.
ToDayTimeInterval attempts to cast the Boolean to a DayTimeInterval .