Flowdock
valid_commercial?(p1, p2, p3, p4 = v4) public

Returns true if the given week date is valid, and false if not.

For example:

Date.valid_commercial?(2001,5,6)  #=> true
Date.valid_commercial?(2001,5,8)  #=> false

See also jd and commercial.

Show source
Register or log in to add new notes.