Any person who is summoned to serve on jury duty or any person, except a defendant in a criminal case, who is summoned or subpoenaed to appear in any court of law or equity when a case is to be heard or who, having appeared, is required in writing by the court to appear at any future hearing, shall neither be discharged from employment, nor have any adverse personnel action taken against him, nor shall he be required to use sick leave or vacation time, as a result of his absence from employment due to such jury duty or court appearance, upon giving reasonable notice to his employer of such court appearance or summons. No person who is summoned and appears for jury duty for four or more hours, including travel time, in one day shall be required to start any work shift that begins on or after 5:00 p.m. on the day of his appearance for jury duty or begins before 3:00 a.m. on the day following the day of his appearance for jury duty. Any employer violating the provisions of this section is guilty of a Class 3 misdemeanor.
Va. Code § 18.2-465.1