home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1999 April / DPPCPRO0499.ISO / April / Notes / 50b2wic.exe / DATA1.CAB / NotesProgramFilesJavaSupport / Notes.jar / lotus / domino / local / International.class (.txt) < prev    next >
Encoding:
Java Class File  |  1998-11-15  |  3.1 KB  |  146 lines

  1. package lotus.domino.local;
  2.  
  3. import lotus.domino.NotesException;
  4. import lotus.notes.JavaString;
  5.  
  6. public class International extends NotesBase implements lotus.domino.International {
  7.    private transient Session session;
  8.  
  9.    protected International() throws NotesException {
  10.    }
  11.  
  12.    protected International(Session var1, int var2) throws NotesException {
  13.       super(var2, 21);
  14.       if (var1 == null) {
  15.          throw new NotesException(4404, JavaString.resource.getString("missing_session_object"));
  16.       } else {
  17.          this.session = var1;
  18.          var1.AddObject(this);
  19.       }
  20.    }
  21.  
  22.    public void recycle() throws NotesException {
  23.       try {
  24.          this.session.RemoveObject(this);
  25.       } catch (NotesException var5) {
  26.       } finally {
  27.          super.Recycle();
  28.       }
  29.  
  30.    }
  31.  
  32.    protected void InternalFinalize() throws NotesException {
  33.       super.finalize();
  34.    }
  35.  
  36.    public void finalize() throws NotesException {
  37.       this.session.RemoveObject(this);
  38.       this.InternalFinalize();
  39.    }
  40.  
  41.    public boolean isCurrencySuffix() throws NotesException {
  42.       ((NotesBase)this).CheckObject();
  43.       return ((NotesBase)this).PropGetBool(1660);
  44.    }
  45.  
  46.    public boolean isCurrencySpace() throws NotesException {
  47.       ((NotesBase)this).CheckObject();
  48.       return ((NotesBase)this).PropGetBool(1661);
  49.    }
  50.  
  51.    public boolean isCurrencyZero() throws NotesException {
  52.       ((NotesBase)this).CheckObject();
  53.       return ((NotesBase)this).PropGetBool(1662);
  54.    }
  55.  
  56.    public boolean isTime24Hour() throws NotesException {
  57.       ((NotesBase)this).CheckObject();
  58.       return ((NotesBase)this).PropGetBool(1663);
  59.    }
  60.  
  61.    public boolean isDST() throws NotesException {
  62.       ((NotesBase)this).CheckObject();
  63.       return ((NotesBase)this).PropGetBool(1664);
  64.    }
  65.  
  66.    public boolean isDateMDY() throws NotesException {
  67.       ((NotesBase)this).CheckObject();
  68.       return ((NotesBase)this).PropGetBool(1665);
  69.    }
  70.  
  71.    public boolean isDateDMY() throws NotesException {
  72.       ((NotesBase)this).CheckObject();
  73.       return ((NotesBase)this).PropGetBool(1666);
  74.    }
  75.  
  76.    public boolean isDateYMD() throws NotesException {
  77.       ((NotesBase)this).CheckObject();
  78.       return ((NotesBase)this).PropGetBool(1667);
  79.    }
  80.  
  81.    public int getCurrencyDigits() throws NotesException {
  82.       ((NotesBase)this).CheckObject();
  83.       return ((NotesBase)this).PropGetInt(1668);
  84.    }
  85.  
  86.    public int getTimeZone() throws NotesException {
  87.       ((NotesBase)this).CheckObject();
  88.       return ((NotesBase)this).PropGetInt(1669);
  89.    }
  90.  
  91.    public String getAMString() throws NotesException {
  92.       ((NotesBase)this).CheckObject();
  93.       return ((NotesBase)this).PropGetString(1670);
  94.    }
  95.  
  96.    public String getPMString() throws NotesException {
  97.       ((NotesBase)this).CheckObject();
  98.       return ((NotesBase)this).PropGetString(1671);
  99.    }
  100.  
  101.    public String getCurrencySymbol() throws NotesException {
  102.       ((NotesBase)this).CheckObject();
  103.       return ((NotesBase)this).PropGetString(1672);
  104.    }
  105.  
  106.    public String getThousandsSep() throws NotesException {
  107.       ((NotesBase)this).CheckObject();
  108.       return ((NotesBase)this).PropGetString(1673);
  109.    }
  110.  
  111.    public String getDecimalSep() throws NotesException {
  112.       ((NotesBase)this).CheckObject();
  113.       return ((NotesBase)this).PropGetString(1674);
  114.    }
  115.  
  116.    public String getDateSep() throws NotesException {
  117.       ((NotesBase)this).CheckObject();
  118.       return ((NotesBase)this).PropGetString(1675);
  119.    }
  120.  
  121.    public String getTimeSep() throws NotesException {
  122.       ((NotesBase)this).CheckObject();
  123.       return ((NotesBase)this).PropGetString(1676);
  124.    }
  125.  
  126.    public String getYesterday() throws NotesException {
  127.       ((NotesBase)this).CheckObject();
  128.       return ((NotesBase)this).PropGetString(1677);
  129.    }
  130.  
  131.    public String getToday() throws NotesException {
  132.       ((NotesBase)this).CheckObject();
  133.       return ((NotesBase)this).PropGetString(1678);
  134.    }
  135.  
  136.    public String getTomorrow() throws NotesException {
  137.       ((NotesBase)this).CheckObject();
  138.       return ((NotesBase)this).PropGetString(1679);
  139.    }
  140.  
  141.    public lotus.domino.Session getParent() throws NotesException {
  142.       ((NotesBase)this).CheckObject();
  143.       return this.session;
  144.    }
  145. }
  146.