Class Example

java.lang.Object
  |
  +--Example

class Example
extends java.lang.Object

Shows examples of using the PDSLabel package.


Constructor Summary
(package private) Example()
           
 
Method Summary
static void main(java.lang.String[] args)
           
static void Parse(java.lang.String[] args)
          Parse time values in a variety of formats.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Example

Example()
Method Detail

main

public static void main(java.lang.String[] args)

Parse

public static void Parse(java.lang.String[] args)
Parse time values in a variety of formats.
Source code:
PPITime time = new PDSTime(); time.convert("1999-10-1T12:15:3.23", PPITime.PDS); System.out.println("Euro: " + time.format(PPITime.EURO)); System.out.println("PDS: " + time.format(PPITime.PDS));
To Run:
java example basic {label}
where {label} is the name of the label file to parse.

Since:
1.0