calculate_time_card
Time card hours and overtime
Adds up a time card (up to 14 days, 7 per workweek) from start and end times in 24-hour HH:MM, subtracting unpaid breaks; shifts past midnight are handled. Splits overtime per workweek under US federal law (over 40 hours, 1.5x) or under the daily rules of California, Alaska, Nevada or Colorado, and gives gross pay when an hourly rate is given.
days必填statehourly_rateovertime_after_hours