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) boolean except = false; International inat = session.getInternational(); if (!inat.getCurrencySymbol().equals("$")) { System.out.println("Currency symbol is " + inat.getCurrencySymbol()); except = true; } if (!inat.getDecimalSep().equals(".")) { System.out.println("Decimal separator is " + inat.getDecimalSep()); except = true; } if (inat.isTime24Hour()) { System.out.println("Time is 24-hour"); except = true; } if (!except) { System.out.println("No exceptions"); } } catch(Exception e) { e.printStackTrace(); } } }
See Also