package admin; /** * A DateNumber is a positive integer between 1 and 31. It's defined as a * separate class in case we want to enforce the value range restriction within * the class constructor. * * @author aakoeppe * */ public abstract class DateNumber { public int value; }