JAVA/CORBA CLASSES
import lotus.domino.*; public class JavaAgent extends AgentBase { public void NotesMain() { try { Session session = getSession(); AgentContext agentContext = session.getAgentContext(); // (Your code goes here) DateTime dt = session.createDateTime("Today 06:00"); System.out.println("Zone\tTime"); for(int i=-12; i<=12; i++) { dt.convertToZone(i, true); System.out.println(dt.getTimeZone() + "\t" + dt.getZoneTime()); } } catch(Exception e) { e.printStackTrace(); } } }
See Also