Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
inYear (year) {
if (this.opts.year && this.opts.year !== year) {
return this
}
const cal = new julian.CalendarJulian(year, this.opts.month, this.opts.day).toGregorian()
const d = (new CalDate(cal)).setOffset(this.offset)
this.dates.push(d)
return this
}
}