android studio calendar code example Example: android studio create calendar Calendar cal = Calendar.getInstance();