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 created date-time string uses above formats separated by ", ".

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

Parameters

addDate

Add date portion to date-time string.

addTime

Add time portion to date-time string.