firstWeekdayInMonth method
Gets the first occurrence of a weekday in the current month.
Implementation
Hora firstWeekdayInMonth(int weekday) {
var current = startOf(TemporalUnit.month);
while (current.weekday != weekday) {
current = current.add(1, TemporalUnit.day);
}
return current;
}