// AddDanishHolidays adds all Danish holidays to the Calendar
517383
func AddDanishHolidays(c *Calendar) {
	c.AddHoliday(
		DKNytaarsdag,
		DKSkaertorsdag,
		DKLangfredag,
		DKPaaskedag,
		DKAndenPaaskedag,
		DKStoreBededag,
		DKKristiHimmelfartsdag,
		DKPinsedag,
		DKAndenPinsedag,
		DKJuledag,
		DKAndenJuledag,
	)
}
409148
func (c *Calendar) AddSkipNonWorkdays(start time.Time, d time.Duration) time.Time {
	const day = 24 * time.Hour
	s := start
	for {
		for !c.IsWorkday(s) {
			s = s.Add(day)
		}

		if d >= day {
			s = s.Add(day)
			d = d - day
		} else if d > 0 {
			s = s.Add(d)
			d = 0
		} else {
			break
		}
	}
	return s
}
752273
func (this *Manidator) Add(dators ...Dator) {
	this.dators = append(this.dators, dators...)
}
228421
func (m *OutgoingMessage) AddEventID(id ...string) *OutgoingMessage {
	m.EventID = append(m.EventID, id...)
	return m
}
1015206
func (s *ReservationPurchaseRecommendation) SetLookbackPeriodInDays(v string) *ReservationPurchaseRecommendation {
	s.LookbackPeriodInDays = &v
	return s
}
458315
func (s *SGMailV3) AddPersonalizations(p ...*Personalization) *SGMailV3 {
	s.Personalizations = append(s.Personalizations, p...)
	return s
}
170945
func (s *SeriesIDSet) AddMany(ids ...SeriesID) {
	if len(ids) == 0 {
		return
	}

	a32 := make([]uint32, len(ids))
	for i := range ids {
		a32[i] = uint32(ids[i].RawID())
	}

	s.Lock()
	defer s.Unlock()
	s.bitmap.AddMany(a32)
}
916256
func (en *en_DK) WeekdayShort(weekday time.Weekday) string {
	return en.daysShort[weekday]
}
1273851
func AddEcbHolidays(c *Calendar) {
	c.AddHoliday(
		ECBGoodFriday,
		ECBEasterMonday,
		ECBNewYearsDay,
		ECBLabourDay,
		ECBChristmasDay,
		ECBChristmasHoliday,
	)
}
1258373
func (c *IDTokenClaims) Add(key string, value interface{}) {
	if c.Extra == nil {
		c.Extra = make(map[string]interface{})
	}
	c.Extra[key] = value
}
530292
func (u *UneventfulForwarder) AddEvents(ctx context.Context, events []*event.Event) error {
	return nil
}
887225
func (i *Interpreter) AddDictionaryEntry(e DictionaryEntry) {
	i.dictionary[dictionaryKey{e.EnterpriseID, e.FieldID}] = e
}
1162793
func (s *Store) Add(name string, entities ...[]rune) {
	s.Lock()
	g, ok := s.groups[name]
	if !ok {
		g = &group{
			name:     name,
			entities: make(map[string][][]rune, DefaultGroupSize),
		}
		s.groups[name] = g
	}
	s.Unlock()

	g.Lock()
	for _, e := range entities {
		h := hash([]rune(e))
		g.entities[h] = append(g.entities[h], e)
		if len(e) > g.maxLen {
			g.maxLen = len(e)
		}
	}
	g.Unlock()
}
46792
func NewHoliday(month time.Month, day int) Holiday {
	return Holiday{Month: month, Day: day}
}
1174818
func (c *Calendar) CountHolidayHoursWithOffset(start time.Time, offsetHour int) int {
	days := int(math.Ceil(float64(offsetHour) / float64(24)))

	holidayHours := 0
	day := 0
	for day <= days {
		date := start.AddDate(0, 0, day)
		if !c.IsWorkday(date) {
			holidayHours += 24
			days++
		}
		day++
	}

	return holidayHours
}
932798
func (g *GIFT) Add(filters ...Filter) {
	g.Filters = append(g.Filters, filters...)
}
1295978
func AddFunc(sched Schedule, url string, fn func(*Context) error) {
	stdSched.AddFunc(sched, url, fn)
}