Revision 49908
Added by Panagiotis Kanakakis over 6 years ago
- Default country name/code (Greece / GR ) due to api problem
Converter.java | ||
---|---|---|
117 | 117 |
|
118 | 118 |
public static String convertDateToString(Date date){ |
119 | 119 |
|
120 |
if(Objects.equals(date, "null"))
|
|
120 |
if(Objects.equals(date, null))
|
|
121 | 121 |
return null; |
122 | 122 |
|
123 | 123 |
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd"); |
Also available in: Unified diff