I don’t think that’s a legal definition.
We don't have a legal definition of sunshine either, but it doesn't seem to be confused with moonlight.