new DateDialog(this, new OnDateSetListener() {
public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) {
// monthOfYear The month that was set (0-11) for compatibility with java.util.Calendar.
startTimeStr = year + "-" + (monthOfYear + 1) + "-" + dayOfMonth;
startTimeTv.setText(startTimeStr);
}
}, Calendar.getInstance(Locale.CHINA)).show();
package forrest.forassist.dialog;import java.util.Calendar;import java.util.Locale;import android.app.DatePickerDialog;import android.content.Context;public class DateDialog extends Da