BrightSide Workbench Full Report + Source Code
org.turro.plugin.contacts.PositionDates Class Reference

Static Public Member Functions

static String format (Date start, Date end)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 32 of file PositionDates.java.

Member Function Documentation

◆ format()

static String org.turro.plugin.contacts.PositionDates.format ( Date  start,
Date  end 
)
static

Definition at line 34 of file PositionDates.java.

34  {
35  CheckDate cdStart = new CheckDate(start);
36  String result = "";
37  if(start != null) {
38  result = I_.get("Since") + " " + DateFormats.monthYear(start, Application.getUsedLocale());
39  }
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());
43  }
44  return result;
45  }
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: