withDateTimeSubtitle

Method for conveniently setting stamp subtitle to date, time or date-time string.

This method uses localized date-time formats DateFormat#getDateFormat(Context) and DateFormat#getTimeFormat(Context). If both addDate and addTime flags are enabled the created date-time string uses the above formats separated by ", ".

If you want further control over the stamp subtitle use withSubtitle to set any string.

Parameters

addDate

Add date portion to date-time string.

addTime

Add time portion to date-time string.