Example usage for java.util GregorianCalendar isWeekDateSupported

List of usage examples for java.util GregorianCalendar isWeekDateSupported

Introduction

In this page you can find the example usage for java.util GregorianCalendar isWeekDateSupported.

Prototype

@Override
public final boolean isWeekDateSupported() 

Source Link

Document

Returns true indicating this GregorianCalendar supports week dates.

Usage

From source file:Main.java

public static void main(String[] args) {

    GregorianCalendar cal = (GregorianCalendar) GregorianCalendar.getInstance();

    System.out.println(cal.getTime());

    System.out.println(cal.isWeekDateSupported());

}