.getId(), task.getName(), task.getType(), nexusTask, translateFrom( task.getSchedule(), new Date( task.getNextRun() ) ), task.isEnabled() );
if ( cScheduledTask.getNextRun() != 0L ) serializer.startTag( NAMESPACE, "nextRun" ).text( String.valueOf( cScheduledTask.getNextRun() ) ).endTag( NAMESPACE, "nextRun" );