1 | void setDefaultDateFormatConfig(String defaultDateFormat) {↵ | | 1 | void set↵
|
2 | if (defaultDateFormat != null && !defaultDateFormat↵ | | 2 | ServerTimeZoneConfig(String serverTimeZoneId) {↵
|
3 | .equals("")) {↵ | | 3 | if (serverTimeZoneId != null && !serverTimeZoneId.equals("")) {↵
|
4 | this.defaultDateFormatConfig = defaultDateFormat;↵ | | 4 | this.serverTimeZoneConfig = serverTimeZoneId;↵
|
5 | configurationHasBeenSet();↵ | | 5 | configurationHasBeenSet();↵
|
6 | }↵ | | 6 | }↵
|
7 | }↵ | | 7 | }↵
|
|
8 | /**↵ | | 8 | /**↵
|
9 | * Sets the recentDateFormatConfig attribute.↵ | | 9 | * Sets the shortMonthNamesConfig attribute↵
|
| | | 10 | *↵
|
10 | * @param recentDateFormat configuration to be set, unless it is↵ | | 11 | * @param shortMonthNames configuration to be set, unless it is↵
|
11 | * null or empty string, in which case ignored.↵ | | 12 | * null or empty string, in which case ignored.↵
|
12 | * @see org.apache.commons.net.ftp.FTPClientConfig↵ | | 13 | * @see org.apache.commons.net.ftp.FTPClientConfig↵
|
13 | */↵ | | 14 | */↵
|
14 | public void setRecentDateFormatConfig(String recentDateFormat) {↵ | | 15 | public void set↵
|
15 | if (recentDateFormat != null && !recentDateFormat↵ | | 16 | ShortMonthNamesConfig(String shortMonthNames) {↵
|
16 | .equals("")) {↵ | | 17 | if (shortMonthNames != null && !shortMonthNames.equals("")) {↵
|
17 | this.recentDateFormatConfig = recentDateFormat;↵ | | 18 | this.shortMonthNamesConfig = shortMonthNames;↵
|
18 | configurationHasBeenSet();↵ | | 19 | configurationHasBeenSet();↵
|
19 | }↵ | | 20 | }↵
|
20 | } | | 21 | }
|