Revision 52781
Added by Panagiotis Kanakakis over 5 years ago
AggregationDetails.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import com.google.gwt.user.client.rpc.IsSerializable; |
4 | 4 |
|
5 |
import java.util.Calendar; |
|
5 | 6 |
import java.util.Date; |
6 | 7 |
|
7 | 8 |
public class AggregationDetails implements IsSerializable{ |
... | ... | |
46 | 47 |
public void setNumberOfRecords(int numberOfRecords) { |
47 | 48 |
this.numberOfRecords = numberOfRecords; |
48 | 49 |
} |
50 |
|
|
51 |
public String getYear() { |
|
52 |
Calendar calendar = Calendar.getInstance(); |
|
53 |
calendar.setTime(getDate()); |
|
54 |
return String.valueOf(calendar.get(Calendar.YEAR)); |
|
55 |
} |
|
49 | 56 |
} |
Also available in: Unified diff
1. Dockerize service
2. Add authorization checks
3. Handle exceptions ( controller advice, exception package)
4. Login-logout operations bug fixes