<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to determine TZ in java in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-tz-in-java/m-p/5186454#M460765</link>
    <description>Actually, no version of Java since 1.4 uses the OS routines for handling time zones; support for the (built-in) zoneinfo database is part of the standard java.util.TimeZone class.&lt;BR /&gt;&lt;BR /&gt;All versions identify the defaut time zone from the (platform-dependent) environment, but the system TZ name may not be recognised as the naming convention is different (in which case it defaults to GMT). Depends on how the application was written, of course.&lt;BR /&gt;&lt;BR /&gt;As you say, aren't standards wonderful...</description>
    <pubDate>Fri, 10 Jul 2009 11:43:36 GMT</pubDate>
    <dc:creator>Andrew C Fieldsend</dc:creator>
    <dc:date>2009-07-10T11:43:36Z</dc:date>
    <item>
      <title>How to determine TZ in java</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-tz-in-java/m-p/5186450#M460761</link>
      <description>I have several versions of java installed on my RP7400, 11.11 server. What is the most reliable way of confirming which TZ each java version is using?</description>
      <pubDate>Thu, 09 Jul 2009 11:40:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-tz-in-java/m-p/5186450#M460761</guid>
      <dc:creator>frederick hannah</dc:creator>
      <dc:date>2009-07-09T11:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine TZ in java</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-tz-in-java/m-p/5186451#M460762</link>
      <description>The time zone is a property of the running process, not the application, taken from the TZ environment variable. You can run the same executable in multiple time zones simultaneously, just by changing the environment before starting the process.&lt;BR /&gt;&lt;BR /&gt;If you haven't changed the environment (possibly in a wrapper script) before running the executable, they will all have the same TZ.</description>
      <pubDate>Fri, 10 Jul 2009 09:10:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-tz-in-java/m-p/5186451#M460762</guid>
      <dc:creator>Andrew C Fieldsend</dc:creator>
      <dc:date>2009-07-10T09:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine TZ in java</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-tz-in-java/m-p/5186452#M460763</link>
      <description>Thanks. That is very helpful.</description>
      <pubDate>Fri, 10 Jul 2009 11:00:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-tz-in-java/m-p/5186452#M460763</guid>
      <dc:creator>frederick hannah</dc:creator>
      <dc:date>2009-07-10T11:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine TZ in java</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-tz-in-java/m-p/5186453#M460764</link>
      <description>Unfortunately, not all versions of Java use the HP-UX timezone information. A Google search: &lt;BR /&gt; &lt;BR /&gt;java timezone tz&lt;BR /&gt; &lt;BR /&gt;reveals a number of exceptions. It would be nice if all Java versions used the standard date/time routines from the OS, but that's the nice thing about standards -- there so many to choose from...&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://www.javaworld.com/javaworld/jw-12-2006/jw-1201-dst.html" target="_blank"&gt;http://www.javaworld.com/javaworld/jw-12-2006/jw-1201-dst.html&lt;/A&gt;&lt;BR /&gt; &lt;BR /&gt;See also HP's Java website:&lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://www.hp.com/go/java" target="_blank"&gt;www.hp.com/go/java&lt;/A&gt;</description>
      <pubDate>Fri, 10 Jul 2009 11:08:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-tz-in-java/m-p/5186453#M460764</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2009-07-10T11:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine TZ in java</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-tz-in-java/m-p/5186454#M460765</link>
      <description>Actually, no version of Java since 1.4 uses the OS routines for handling time zones; support for the (built-in) zoneinfo database is part of the standard java.util.TimeZone class.&lt;BR /&gt;&lt;BR /&gt;All versions identify the defaut time zone from the (platform-dependent) environment, but the system TZ name may not be recognised as the naming convention is different (in which case it defaults to GMT). Depends on how the application was written, of course.&lt;BR /&gt;&lt;BR /&gt;As you say, aren't standards wonderful...</description>
      <pubDate>Fri, 10 Jul 2009 11:43:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-tz-in-java/m-p/5186454#M460765</guid>
      <dc:creator>Andrew C Fieldsend</dc:creator>
      <dc:date>2009-07-10T11:43:36Z</dc:date>
    </item>
  </channel>
</rss>

