isLongWeekend property

bool get isLongWeekend

Checks if this is a "long" weekend (3+ consecutive non-working days).

Implementation

bool get isLongWeekend {
  // Simple check: Friday + Saturday + Sunday
  // This could be enhanced with holiday calendars
  if (weekday == DateTime.friday) {
    return true;
  }
  if (weekday == DateTime.saturday || weekday == DateTime.sunday) {
    // Check if Friday was part of it (public holiday logic would go here)
    return false;
  }
  return false;
}