/** * Date Utilities * * Pure functions for date operations and formatting. * No side effects, timezone-aware operations. * * SOLID: Single Responsibility - Only date operations * DRY: Reusable date utility functions * KISS: Simple, focused functions */ export declare class DateUtilities { /** * Format date to string (YYYY-MM-DD) */ static formatDateToString(date: Date): string; /** * Check if two dates are the same day */ static isSameDay(date1: Date, date2: Date): boolean; /** * Add days to a date */ static addDays(date: Date, days: number): Date; /** * Check if date is today */ static isToday(date: Date): boolean; /** * Get current timezone */ static getCurrentTimezone(): string; /** * Get start of month */ static getStartOfMonth(date: Date): Date; /** * Get end of month */ static getEndOfMonth(date: Date): Date; /** * Get number of days in month */ static getDaysInMonth(date: Date): number; /** * Get start of week (Sunday) */ static getStartOfWeek(date: Date): Date; /** * Get end of week (Saturday) */ static getEndOfWeek(date: Date): Date; /** * Parse date from string (YYYY-MM-DD) */ static parseDate(dateString: string): Date; /** * Format time to string (HH:MM) */ static formatTimeToString(date: Date): string; /** * Check if date is in the past */ static isPast(date: Date): boolean; /** * Check if date is in the future */ static isFuture(date: Date): boolean; }