diff --git a/src/DateTimePickerDialog.java b/src/DateTimePickerDialog.java index 2c47ba4..d066458 100644 --- a/src/DateTimePickerDialog.java +++ b/src/DateTimePickerDialog.java @@ -67,6 +67,10 @@ public class DateTimePickerDialog extends AlertDialog implements OnClickListener public void set24HourView(boolean is24HourView) { mIs24HourView = is24HourView; } + + public void set12HourView(boolean is24HourView) { + mIs24HourView = is24HourView; + } public void setOnDateTimeSetListener(OnDateTimeSetListener callBack) { mOnDateTimeSetListener = callBack;