public class DateTimePickerDialog
extends com.app.security.util.MemoryDialog
implements android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnShowListener, android.view.View.OnClickListener
限定符和类型 | 类和说明 |
---|---|
static interface |
DateTimePickerDialog.OnTimeSelectedListener |
android.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListener
构造器和说明 |
---|
DateTimePickerDialog(android.content.Context context) |
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String |
getFormatTime(java.lang.String time) |
static DateTimePickerDialog |
getInstance(android.content.Context mContext) |
static java.lang.String |
long2Str(long timestamp) |
void |
onClick(android.view.View v) |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
void |
onDismiss(android.content.DialogInterface dialog) |
void |
onShow(android.content.DialogInterface dialog) |
void |
setOnTimeSelectedListener(DateTimePickerDialog.OnTimeSelectedListener listener) |
static long |
str2Long(java.lang.String dateStr) |
dismiss, isActivityValid, isBottomEntryDialog, isContextAvailable, realDismiss, realShow, setBottomEntryDialog, setContentView, setContentView, setContentView, setOnDismissListener, show
addContentView, cancel, closeOptionsMenu, create, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onSearchRequested, onStart, onStop, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelable, setCanceledOnTouchOutside, setCancelMessage, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setTitle, setVolumeControlStream, takeKeyEvents, unregisterForContextMenu
public static DateTimePickerDialog getInstance(android.content.Context mContext)
protected void onCreate(android.os.Bundle savedInstanceState)
onCreate
在类中 android.app.Dialog
public void onDismiss(android.content.DialogInterface dialog)
onDismiss
在接口中 android.content.DialogInterface.OnDismissListener
public void onShow(android.content.DialogInterface dialog)
onShow
在接口中 android.content.DialogInterface.OnShowListener
public void onClick(android.view.View v)
onClick
在接口中 android.view.View.OnClickListener
public static long str2Long(java.lang.String dateStr)
public static java.lang.String long2Str(long timestamp)
public void setOnTimeSelectedListener(DateTimePickerDialog.OnTimeSelectedListener listener)
public static java.lang.String getFormatTime(java.lang.String time)