public static String timestampString(NSTimestamp timestamp, boolean includeTime) {
String timestampString;
if (includeTime) {
if (timestamp != null) {
timestampString = new NSTimestampHelper().format(timestamp);
}
else {
timestampString = "";
}
}
else {
if (timestamp != null) {
timestampString = new NSTimestampHelper().mdy(timestamp);
}
else {
timestampString = "";
}
}