# Interface Picker.DateGetter

Enclosing class:
  `Picker`

public static interface Picker.DateGetter
Functional interface that supplies the default `Date` to display when a date-type picker is opened without an explicit value. Evaluated lazily each time the default is needed so it can return a value that depends on state that changes after the picker is constructed (e.g. "one hour before the current due date").

See Also:
  - `Picker.setDefaultDate(DateGetter)`
  - `Picker.setDefaultDate(Date)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Date`
  `get()`
  Returns the default date the picker should show when no explicit value has been set.

- ## Method Details

  - ### get

    Date get()
    Returns the default date the picker should show when no explicit value has been set. Returning `null` falls back to the framework default (`new Date()`).