Class PivotDemo


  • public class PivotDemo
    extends java.lang.Object
    This class demonstrates how to use UniversalTimeScale to convert from one local time scale to another.
    See Also:
    UniversalTimeScale
    • Constructor Summary

      Constructors 
      Constructor Description
      PivotDemo()
      The default constructor.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      The main() method uses UniversalTimeScale to convert from the Java and Unix time scales to the ICU time scale.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PivotDemo

        public PivotDemo()
        The default constructor.
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        The main() method uses UniversalTimeScale to convert from the Java and Unix time scales to the ICU time scale. It uses a Calendar object to display the ICU time values.
        Parameters:
        args - the command line arguments.