public static org.hisp.dhis.calendar.Calendar getCalendar() { if ( calendarService != null ) { return calendarService.getSystemCalendar(); } return Iso8601Calendar.getInstance(); }
info.setCalendar( calendarService.getSystemCalendar().name() ); info.setDateFormat( calendarService.getSystemDateFormat().getJs() ); info.setServerDate( new Date() ); info.setLastAnalyticsTableSuccess( lastAnalyticsTableSuccess );
public static org.hisp.dhis.calendar.Calendar getCalendar() { if ( calendarService != null ) { return calendarService.getSystemCalendar(); } return Iso8601Calendar.getInstance(); }
public static org.hisp.dhis.calendar.Calendar getCalendar() { if ( calendarService != null ) { return calendarService.getSystemCalendar(); } return Iso8601Calendar.getInstance(); }
.setImportOptions( importOptions ); boolean isIso8601 = calendarService.getSystemCalendar().isIso8601(); boolean skipLockExceptionCheck = !lockExceptionStore.anyExists();