IMHO, the first approach is much better. For an example of the second case, take a look at the Calendar class. But like most things, this is going to depend entirely on your context.