The maximum time of labor or service required of any laborer, workman, or mechanic employed upon any work of the district, whether employed directly by the district and its officers, or by a contractor or subcontractor, shall be eight hours during any one calendar day, except in case of emergency.