AnotherDatePicker is an inline date picker:
The advantage of this class over the built-in dialog (DateDialog from the Dialogs library) is that you can easily customize it as needed.
Most of the layout is created with the visual designer and designer script.
ADP.GetDate returns the selected date.
The months names and days names are based on the device locale.
In order to use this class in your code you should add AnotherDatePicker class, reference DateUtils library and add DatePicker layout file to the Files tab.
Starting from v1.10 the simplest way to add the picker is with the designer. You should add a CustomView and then choose AnotherDatePicker as the custom view type:
v1.11 - Fixes an issue with SetDate that is called before the view is ready.
v1.10 - Adds a Closed event. See the attached example.