| getCalendarMinimum |
(Calendar calendar, int comp) |
yoix.util |
| |
|
NOTE:
this function is deprecated and will be going away very, very soon.
Use the
minimum
builtin of
Calendar
instead.
Returns the minimum value for the
component of
calendar
specified by
comp.
| |
| Example: |
The least number of days in a month can be found as follows:
import yoix.stdio.*;
import yoix.util.*;
Calendar c;
printf("A month will have no fewer than %d days.\n",
getCalendarMinimum(c, Calendar.DAY_OF_MONTH));
puts("No surprise there.");
with the result:
A month will have no fewer than 1 days.
No surprise there.
| | |
| Return: |
int
| | |
| See Also: |
addCalendar,
Calendar,
compareCalendar,
date
getCalendarLeastMaximum,
getCalendarMaximum,
getDateFormat,
parseDate,
rollCalendar,
setCalendar
|
|
Yoix is a registered trademark of AT&T Inc.
|