getInstance()

Gets a calendar using the default time zone and locale.

Syntax

Calendar getInstance()