|
static String | format (Date start, Date end) |
|
◆ format()
static String org.turro.plugin.contacts.PositionDates.format |
( |
Date |
start, |
|
|
Date |
end |
|
) |
| |
|
static |
Definition at line 34 of file PositionDates.java.
35 CheckDate cdStart =
new CheckDate(start);
38 result = I_.get(
"Since") +
" " + DateFormats.monthYear(start, Application.getUsedLocale());
40 if(end !=
null && (start ==
null || !cdStart.sameMonth(end))) {
41 if(!Strings.isBlank(result)) result +=
" ";
42 result += I_.get(
"Until") +
" " + DateFormats.monthYear(end, Application.getUsedLocale());
The documentation for this class was generated from the following file: