An employer who complies with the overtime provisions of the Fair Labor Standards Act of 1938 (29 U.S.C. § 201 et seq.) is considered to comply with the eight-hour day requirements of this chapter and is not civilly or criminally liable for a violation of the requirements.