convert from calendar to a gregoriancalendar . concode_field_sep PlaceHolder placeHolder concode_field_sep List<BigDecimal> doublesToDecs concode_elem_sep List<BigDecimal> toDecs concode_elem_sep List<GregorianCalendar> toDates concode_elem_sep String replace concode_elem_sep String getPathById concode_elem_sep String getDestPathOfNode concode_elem_sep boolean hasObjectId concode_elem_sep List<BigInteger> toInts concode_elem_sep String getTargetPathOfNode concode_elem_sep List<String> toValue concode_elem_sep List<String> toValue concode_elem_sep List<String> toValue concode_elem_sep List<String> toValue concode_elem_sep List<String> toValue concode_elem_sep List<String> toValue concode_elem_sep List<String> toValue concode_elem_sep List<String> toValue concode_elem_sep boolean isNonEmptyProperties concode_elem_sep List<String> toStrings concode_elem_sep Resource getResourceById concode_elem_sep void setProperty concode_elem_sep List<Boolean> toBools concode_elem_sep String escape concode_elem_sep void removeProperty
GregorianCalendar function ( Calendar arg0 ) { if ( arg0 instanceof GregorianCalendar ) { return ( GregorianCalendar ) arg0 ; } else { GregorianCalendar loc0 = new GregorianCalendar ( ) ; loc0 . setTimeZone ( arg0 . getTimeZone ( ) ) ; loc0 . setTimeInMillis ( arg0 . getTimeInMillis ( ) ) ; return loc0 ; } }