Try with this code. it works for me on l2jserver H5
 
	 
 
package handlers.voicedcommandhandlers;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.logging.Logger;
import com.l2jserver.Config;
import com.l2jserver.gameserver.data.xml.impl.NpcData;
import com.l2jserver.gameserver.handler.IVoicedCommandHandler;
import com.l2jserver.gameserver.instancemanager.GrandBossManager;
import com.l2jserver.gameserver.model.StatsSet;
import com.l2jserver.gameserver.model.actor.instance.L2PcInstance;
import com.l2jserver.gameserver.network.clientpackets.Say2;
import com.l2jserver.gameserver.network.serverpackets.CreatureSay;
import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage;
public class Epic implements IVoicedCommandHandler
{
	static final Logger _log = Logger.getLogger(Epic.class.getName());
	private static final String[] VOICED_COMMANDS =
	{
		"epic"
	};
	
	@Override
	public boolean useVoicedCommand(String command, L2PcInstance activeChar, String params)
	{
		if (!Config.ALLOW_EPIC_COMMAND)
		{
			activeChar.sendPacket(new CreatureSay(0, Say2.BATTLEFIELD, "Epic Manager", "This command is disabled!"));
			return false;
		}
		if (command.startsWith("epic"))
		{
			return Status(activeChar);
		}
		return false;
	}
	
	public boolean Status(L2PcInstance activeChar)
	{
		
		int[] BOSSES =
		{
			29001,
			29006,
			29014,
			29020,
			29028,
			29068,
			29118
		
		};
		SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
		final StringBuilder replyMSG = new StringBuilder("<html><body><center>");
		// replyMSG.append("<font color=\"LEVEL\">* Grand Boss Status & Respawn *</font><br>");
		for (int boss : BOSSES)
		{
			String name = NpcData.getInstance().getTemplate(boss).getName();
			StatsSet stats = GrandBossManager.getInstance().getStatsSet(boss);
			if (stats == null)
			{
				replyMSG.append("Stats for GrandBoss " + boss + " not found!<br>");
				continue;
			}
			
			long delay = stats.getLong("respawn_time");
			long currentTime = System.currentTimeMillis();
			if (delay <= currentTime)
			{
				replyMSG.append("(" + name + ") is <font color=\"00FF00\">Alive</font><br>");
				
			}
			else
			{
				replyMSG.append("(" + name + ") is <font color=\"FF0000\">Dead</font> <font color=\"FF9900\">( " + sdf.format(new Date(delay)) + " )</font><br>");
			}
		}
		replyMSG.append("</center></body></html>");
		final NpcHtmlMessage adminReply = new NpcHtmlMessage();
		adminReply.setHtml(replyMSG.toString());
		activeChar.sendPacket(adminReply);
		return true;
	}
	
	@Override
	public String[] getVoicedCommandList()
	{
		return VOICED_COMMANDS;
	}
}