The firstDayOfYear() method returns January 1 of the specified year.
DayPilot.Date.firstDayOfYear();
DayPilot.Date object representing the first day of year.
var first = new DayPilot.Date("2020-06-15").firstDayOfYear(); // new DayPilot.Date("2020-01-01")