test_class.declarator: datePickerDialog
test_class.modifier: private
test_class.original_string: private DatePickerDialog datePickerDialog;
test_class.type: DatePickerDialog
test_class.var_name: datePickerDialog
test_class.file: thai-widget/src/test/java/nectec/thai/widget/date/DatePickerDialogTest.java
test_class.identifier: DatePickerDialogTest
test_case.body: @Test
      public void testUpdateDate() throws Exception {
          datePickerDialog.updateDate(1988, SEPTEMBER, 21);
  
          assertEquals(1988, datePickerDialog.getYear());
          assertEquals(SEPTEMBER, datePickerDialog.getMonth());
          assertEquals(21, datePickerDialog.getDayOfMonth());
      }
test_case.class_method_signature: DatePickerDialogTest.testUpdateDate()
test_case.full_signature: @Test public void testUpdateDate()
test_case.identifier: testUpdateDate
test_case.invocations: updateDate assertEquals getYear assertEquals getMonth assertEquals getDayOfMonth
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testUpdateDate()
focal_class.declarator: THAI_MONTH = {"มกราคม", "กุมภาพันธ์",
              "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม",
              "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"};
focal_class.modifier: private static final
focal_class.original_string: private static final String[] THAI_MONTH = {"มกราคม", "กุมภาพันธ์",
              "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม",
              "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"};
focal_class.type: String[]
focal_class.var_name: THAI_MONTH
focal_class.declarator: dayPicker
focal_class.modifier: protected final
focal_class.original_string: protected final NumberPicker dayPicker;
focal_class.type: NumberPicker
focal_class.var_name: dayPicker
focal_class.declarator: monthPicker
focal_class.modifier: protected final
focal_class.original_string: protected final NumberPicker monthPicker;
focal_class.type: NumberPicker
focal_class.var_name: monthPicker
focal_class.declarator: yearPicker
focal_class.modifier: protected final
focal_class.original_string: protected final NumberPicker yearPicker;
focal_class.type: NumberPicker
focal_class.var_name: yearPicker
focal_class.declarator: calendar
focal_class.modifier: private
focal_class.original_string: private Calendar calendar;
focal_class.type: Calendar
focal_class.var_name: calendar
focal_class.declarator: callback
focal_class.modifier: private
focal_class.original_string: private DatePickerCallback callback;
focal_class.type: DatePickerCallback
focal_class.var_name: callback
focal_class.declarator: onPositiveButtonClick = new DialogInterface.OnClickListener() {
          @Override
          public void onClick(DialogInterface dialogInterface, int i) {
              View currentFocus = getCurrentFocus();
              if (currentFocus != null) currentFocus.clearFocus();
              if (callback != null) callback.onPicked(DatePickerDialog.this, calendar);
              dismiss();
          }
      }
focal_class.modifier: private final
focal_class.original_string: private final DialogInterface.OnClickListener onPositiveButtonClick = new DialogInterface.OnClickListener() {
          @Override
          public void onClick(DialogInterface dialogInterface, int i) {
              View currentFocus = getCurrentFocus();
              if (currentFocus != null) currentFocus.clearFocus();
              if (callback != null) callback.onPicked(DatePickerDialog.this, calendar);
              dismiss();
          }
      };
focal_class.type: DialogInterface.OnClickListener
focal_class.var_name: onPositiveButtonClick
focal_class.declarator: onNegativeButtonClick = new DialogInterface.OnClickListener() {
          @Override
          public void onClick(DialogInterface dialogInterface, int i) {
              if (callback != null) callback.onCancel();
              dismiss();
          }
      }
focal_class.modifier: private final
focal_class.original_string: private final DialogInterface.OnClickListener onNegativeButtonClick = new DialogInterface.OnClickListener() {
          @Override
          public void onClick(DialogInterface dialogInterface, int i) {
              if (callback != null) callback.onCancel();
              dismiss();
          }
      };
focal_class.type: DialogInterface.OnClickListener
focal_class.var_name: onNegativeButtonClick
focal_class.declarator: maxDate
focal_class.modifier: private
focal_class.original_string: private Calendar maxDate;
focal_class.type: Calendar
focal_class.var_name: maxDate
focal_class.declarator: minDate
focal_class.modifier: private
focal_class.original_string: private Calendar minDate;
focal_class.type: Calendar
focal_class.var_name: minDate
focal_class.file: thai-widget/src/main/java/nectec/thai/widget/date/DatePickerDialog.java
focal_class.identifier: DatePickerDialog
focal_class.interfaces: implements DatePopup, NumberPicker.OnValueChangeListener
focal_class.class_method_signature: DatePickerDialog.DatePickerDialog(Context context)
focal_class.full_signature: public  DatePickerDialog(Context context)
focal_class.identifier: DatePickerDialog
focal_class.modifiers: public
focal_class.parameters: (Context context)
focal_class.signature:  DatePickerDialog(Context context)
focal_class.class_method_signature: DatePickerDialog.DatePickerDialog(Context context, DatePickerCallback datePickerCallback)
focal_class.full_signature: public  DatePickerDialog(Context context, DatePickerCallback datePickerCallback)
focal_class.identifier: DatePickerDialog
focal_class.modifiers: public
focal_class.parameters: (Context context, DatePickerCallback datePickerCallback)
focal_class.signature:  DatePickerDialog(Context context, DatePickerCallback datePickerCallback)
focal_class.class_method_signature: DatePickerDialog.DatePickerDialog(Context context, Calendar calendar, DatePickerCallback datePickerCallback)
focal_class.full_signature: public  DatePickerDialog(Context context, Calendar calendar, DatePickerCallback datePickerCallback)
focal_class.identifier: DatePickerDialog
focal_class.modifiers: public
focal_class.parameters: (Context context, Calendar calendar, DatePickerCallback datePickerCallback)
focal_class.signature:  DatePickerDialog(Context context, Calendar calendar, DatePickerCallback datePickerCallback)
focal_class.class_method_signature: DatePickerDialog.updateDate(Calendar calendar)
focal_class.full_signature: public final void updateDate(Calendar calendar)
focal_class.identifier: updateDate
focal_class.modifiers: public final
focal_class.parameters: (Calendar calendar)
focal_class.return: void
focal_class.signature: void updateDate(Calendar calendar)
focal_class.class_method_signature: DatePickerDialog.updateDate(int year, int month, int dayOfMonth)
focal_class.full_signature: @Override public void updateDate(int year, int month, int dayOfMonth)
focal_class.identifier: updateDate
focal_class.modifiers: @Override public
focal_class.parameters: (int year, int month, int dayOfMonth)
focal_class.return: void
focal_class.signature: void updateDate(int year, int month, int dayOfMonth)
focal_class.class_method_signature: DatePickerDialog.getYear()
focal_class.full_signature: @Override public int getYear()
focal_class.identifier: getYear
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getYear()
focal_class.class_method_signature: DatePickerDialog.getMonth()
focal_class.full_signature: @Override public int getMonth()
focal_class.identifier: getMonth
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getMonth()
focal_class.class_method_signature: DatePickerDialog.getDayOfMonth()
focal_class.full_signature: @Override public int getDayOfMonth()
focal_class.identifier: getDayOfMonth
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getDayOfMonth()
focal_class.class_method_signature: DatePickerDialog.setMaxDate(int year, int month, int dayOfMonth)
focal_class.full_signature: @Override public void setMaxDate(int year, int month, int dayOfMonth)
focal_class.identifier: setMaxDate
focal_class.modifiers: @Override public
focal_class.parameters: (int year, int month, int dayOfMonth)
focal_class.return: void
focal_class.signature: void setMaxDate(int year, int month, int dayOfMonth)
focal_class.class_method_signature: DatePickerDialog.setMinDate(int year, int month, int dayOfMonth)
focal_class.full_signature: @Override public void setMinDate(int year, int month, int dayOfMonth)
focal_class.identifier: setMinDate
focal_class.modifiers: @Override public
focal_class.parameters: (int year, int month, int dayOfMonth)
focal_class.return: void
focal_class.signature: void setMinDate(int year, int month, int dayOfMonth)
focal_class.class_method_signature: DatePickerDialog.setCallback(DatePickerCallback callback)
focal_class.full_signature: @Override public void setCallback(DatePickerCallback callback)
focal_class.identifier: setCallback
focal_class.modifiers: @Override public
focal_class.parameters: (DatePickerCallback callback)
focal_class.return: void
focal_class.signature: void setCallback(DatePickerCallback callback)
focal_class.class_method_signature: DatePickerDialog.setMaxDateIsToday()
focal_class.full_signature: public void setMaxDateIsToday()
focal_class.identifier: setMaxDateIsToday
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void setMaxDateIsToday()
focal_class.class_method_signature: DatePickerDialog.setMaxDate(Calendar maxDate)
focal_class.full_signature: public void setMaxDate(Calendar maxDate)
focal_class.identifier: setMaxDate
focal_class.modifiers: public
focal_class.parameters: (Calendar maxDate)
focal_class.return: void
focal_class.signature: void setMaxDate(Calendar maxDate)
focal_class.class_method_signature: DatePickerDialog.setMinDateIsToday()
focal_class.full_signature: public void setMinDateIsToday()
focal_class.identifier: setMinDateIsToday
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void setMinDateIsToday()
focal_class.class_method_signature: DatePickerDialog.setMinDate(Calendar minDate)
focal_class.full_signature: public void setMinDate(Calendar minDate)
focal_class.identifier: setMinDate
focal_class.modifiers: public
focal_class.parameters: (Calendar minDate)
focal_class.return: void
focal_class.signature: void setMinDate(Calendar minDate)
focal_class.class_method_signature: DatePickerDialog.show(int year, int month, int dayOfMonth)
focal_class.full_signature: @Override public void show(int year, int month, int dayOfMonth)
focal_class.identifier: show
focal_class.modifiers: @Override public
focal_class.parameters: (int year, int month, int dayOfMonth)
focal_class.return: void
focal_class.signature: void show(int year, int month, int dayOfMonth)
focal_class.class_method_signature: DatePickerDialog.show(Calendar calendar)
focal_class.full_signature: @Override public void show(Calendar calendar)
focal_class.identifier: show
focal_class.modifiers: @Override public
focal_class.parameters: (Calendar calendar)
focal_class.return: void
focal_class.signature: void show(Calendar calendar)
focal_class.class_method_signature: DatePickerDialog.setPopupTitle(String title)
focal_class.full_signature: @Override public void setPopupTitle(String title)
focal_class.identifier: setPopupTitle
focal_class.modifiers: @Override public
focal_class.parameters: (String title)
focal_class.return: void
focal_class.signature: void setPopupTitle(String title)
focal_class.class_method_signature: DatePickerDialog.onValueChange(NumberPicker numberPicker, int i, int i1)
focal_class.full_signature: @Override public void onValueChange(NumberPicker numberPicker, int i, int i1)
focal_class.identifier: onValueChange
focal_class.modifiers: @Override public
focal_class.parameters: (NumberPicker numberPicker, int i, int i1)
focal_class.return: void
focal_class.signature: void onValueChange(NumberPicker numberPicker, int i, int i1)
focal_class.class_method_signature: DatePickerDialog.updateValueAndUi()
focal_class.full_signature: protected void updateValueAndUi()
focal_class.identifier: updateValueAndUi
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void updateValueAndUi()
focal_class.class_method_signature: DatePickerDialog.trimDayOverMaxDayOfNewMonth()
focal_class.full_signature: private void trimDayOverMaxDayOfNewMonth()
focal_class.identifier: trimDayOverMaxDayOfNewMonth
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void trimDayOverMaxDayOfNewMonth()
focal_class.class_method_signature: DatePickerDialog.newCalendarFromPicker()
focal_class.full_signature: protected Calendar newCalendarFromPicker()
focal_class.identifier: newCalendarFromPicker
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: Calendar
focal_class.signature: Calendar newCalendarFromPicker()
focal_class.class_method_signature: DatePickerDialog.updateMaxValueIfMaxDateSet()
focal_class.full_signature: private void updateMaxValueIfMaxDateSet()
focal_class.identifier: updateMaxValueIfMaxDateSet
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void updateMaxValueIfMaxDateSet()
focal_class.class_method_signature: DatePickerDialog.updateMinValueIfMinDateSet()
focal_class.full_signature: private void updateMinValueIfMinDateSet()
focal_class.identifier: updateMinValueIfMinDateSet
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void updateMinValueIfMinDateSet()
focal_class.superclass: extends AlertDialog
focal_method.body: public final void updateDate(Calendar calendar) {
          updateDate(calendar.get(YEAR), calendar.get(MONTH), calendar.get(DAY_OF_MONTH));
      }
focal_method.class_method_signature: DatePickerDialog.updateDate(Calendar calendar)
focal_method.full_signature: public final void updateDate(Calendar calendar)
focal_method.identifier: updateDate
focal_method.invocations: updateDate get get get
focal_method.modifiers: public final
focal_method.parameters: (Calendar calendar)
focal_method.return: void
focal_method.signature: void updateDate(Calendar calendar)