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"); dt.setNow(); if (dt.isDST()) System.out.println("Enjoy the long days"); else System.out.println("Endure the darkness"); } catch(Exception e) { e.printStackTrace(); } } }
See Also