Added dayBefore class method