MS3: LS3-4: Enums and DateTimeVersión en línea Java concepts, Terms and definitions por steve finch 1 Enums 2 Human Time 3 Machine Time Useful for defining a set of pre-defined, related constants Should be in all caps, since they are constants Good examples would be months of the year, days of the week, etc Can be used in formal parameter list of a method Can be used in switch statements Consists of units like years, months, day, hours, minutes, seconds Is considered regular calendar and time Length is described as periods Is a timeline measured in nanoseconds Beginning is referred to as the epoch (1/1/1970) Time after the epoch is positive Time before the epoch is negative Length is measured as Duration