Code example for DatePicker

Methods: updateDate

0
			activityUtils.getCurrentActivity(false).runOnUiThread(new Runnable()
			{ 
				public void run() 
				{ 
					try{ 
						datePicker.updateDate(year, monthOfYear, dayOfMonth);
					}catch (Exception ignored){}
				} 
			}); 
		} 
	} 
 
 
	/** 
	 * Sets the time in a given {@link TimePicker}. 
	 * 
	 * @param timePicker the {@code TimePicker} object. 
	 * @param hour the hour e.g. 15 
	 * @param minute the minute e.g. 30 
	 */