![]() |
Long Date Mask Constants |
Header: DateTimeUtils.h |
enum { eraMask = 1, yearMask = 2, monthMask = 4, dayMask = 8, hourMask = 16, minuteMask = 32, secondMask = 64, dayOfWeekMask = 128, dayOfYearMask = 256, weekOfYearMask = 512, pmMask = 1024, dateStdMask = 127 };
Verify the era.
Verify the year.
Verify the month.
Verify the day
Verify the hour.
Verify the minute.
Verify the second.
Verify the day of the week.
Verify the day of the year.
Verify the week of the year.
Verify the evening (P.M.).
Verify the era through the second.
These constants are used in the field parameter of the ToggleDate function to specify the LongDateRec fields for the ValidDate function to check.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)