Time Zones (English)

Here is a Java Bean that returns the date / time of major cities.

It run with JInitiator.

For get the time zone of any city, you can search on: http://www.timezoneconverter.com/cgi-bin/findzone


Time Zones Java Bean



The implementation class of the Bean Item 

    oracle.forms.jvr.TimeZones


The methods you can call

  • Set the country in which is the server 
            FBEAN.INVOKE ('BL.BEAN',1,'setPaisOrigen','ES');
  • Set the zone to get the date / time 
            FBEAN.INVOKE ('BL.BEAN',1,'setZona','America/Buenos_Aires');
  • Get the date and time 
            :BL.DATE := FBEAN.INVOKE_CHAR ('BL.BEAN',1,'fechaHora','');


The sample dialog 

    . Unzip the TimeZones.zip file
    . Copy the TimeZones.jar file in your /forms/java/ folder
    . Add it to the archive tags of the /forms/server/formsweb.cfg file
    . Open the TimeZones.fmb module (Oracle Forms 10.1.2)
    . Compile all and run the module


The JAR file must be signed

The JAR file provided with the ZIP file are already signed