How is the amount of weekly in-class and out-of-class course work calculated to meet state and federal requirements in online education courses?

How is the amount of weekly in-class and out-of-class course work calculated to meet state and federal requirements in online education courses?