I was wondering if there is some sort of complete list of what "have a good one" can commonly mean. As the answers to this question imply, it can mean "have a good day!" or "have a nice weekend!", always as a form of saying goodbye to someone.
But would it also be acceptable for longer time ranges? For example, if someone says "Happy New Year!", can I reply "Thanks! You too, have a good one!" or simply say to someone off on vacations "have a good one!"?
Definition of have a good one
—used to say one hopes the person spoken to will have an enjoyable day
So, my question is: Does "have a good one" need to be restricted to a single day, as in "have a good day!"? Or can it be used for longer periods? (the answers here also suggest that it should be confined to a single day)
EDIT: Thank you for the answers! But I'm having a hard time picking the definitive one, since they rather contradict each other. Maybe different regions use it differently and there's no single answer? (I'm also curious to know what people from other native speaking countries, like England or Canada, would think of this)