@nprofile1q... The law doesn't specify a particular implementation, it specifies only that:
They must exist.
There must be some documented API to get the age range.
In particular, it doesn't specify what that API is, but does specify that it must be coarse-grained (giving no more information than the four age ranges, and not giving the precise age or date of birth).