// IsFullDay check if period is a full day
IsFullDay check if period is a full day
// IsFullDay check if period is a full day
func (p Period) IsFullDay() bool {
	if p.Beginning.Hour() == 0 && p.Beginning.Minute() == 0 && p.Beginning.Second() == 0 {
		diff := p.End.Sub(p.Beginning)
		return diff == time.Hour*24 || diff == (time.Hour*24-time.Second)
	}
	return false
}
func ( p Period ) IsFullDay ( ) bool { if p . Beginning . Hour ( ) == 0 && p . Beginning . Minute ( ) == 0 && p . Beginning . Second ( ) == 0 { diff := p . End . Sub ( p . Beginning ) return diff == time . Hour * 24 || diff == ( time . Hour * 24 - time . Second ) } return false }
IsFullDay check if period is a full day
IsFullDay check if period is a full day