You have to know your beer, there are no written down rules. I'm putting on pale ales this weekend to have a couple of months before drinking at Xmas (they are strong and well hopped, but not "hoppy" in the sense of "craft beers"). But I've other bitters that may only get 10 days ... that's 10 days from starting to make it! They would be about 4% abv and not particularly hoppy.
Before you draw any conclusions from that, I've made mild ales (3% abv) that weren't at there best for a couple of weeks (in cask). And (something that I haven't made for a while) low-alcohol "beers" (0.5% abv) that are best after two or three weeks, but they are keg, not cask (or "cask style").
So what I'm saying is ... how long is this piece of string?
The more "complex" the beer the longer it takes to gel together the flavours. Less complex (perhaps sweeter) beers need less time. Roughly. If you are making "craft beer" type beers the question might draw a better answer. They do have a more "paint by numbers" approach ... sometimes!