Java Calendar .isWeekDateSupported ()
Syntax
Calendar.isWeekDateSupported() has the following syntax.
public boolean isWeekDateSupported()
Example
In the following code shows how to use Calendar.isWeekDateSupported() method.
//from w w w . j av a 2 s .c o m
import java.util.Calendar;
public class Main {
public static void main(String[] args) {
Calendar now = Calendar.getInstance();
System.out.print(now.isWeekDateSupported());
}
}
The code above generates the following result.
Home »
Java Tutorial »
java.util »
Java Tutorial »
java.util »