code: private String[] getTimePatterns(ProjectProperties properties)
     {
        String[] result;
        char timesep = properties.getTimeSeparator();
        ProjectTimeFormat format = properties.getTimeFormat();
  
        if (format == null || format == ProjectTimeFormat.TWELVE_HOUR)
        {
           result = new String[]
           {
              "hh" + timesep + "mm a",
              "hh" + timesep + "mma"
           };
        }
        else
        {
           result = new String[]
           {
              "HH" + timesep + "mm",
              "HH",
           };
        }
  
        return result;
     }
docs: Returns time elements considering 12/24 hour formatting.
  
  @param properties project properties
  @return time formatting String