public static Calendar getCalendar ( TimeZone tz , Locale locale ) { if ( tz == null ) tz = getCurrentTimeZone ( ) ; if ( locale == null ) locale = getCurrentLocale ( ) ; return Calendar . getInstance ( tz , locale ) ; }
Returns a new calendar object using the given timezone and locale .