Package ch.pollet.jzic.timezone

Examples of ch.pollet.jzic.timezone.Link


    public LinkParser(Database db) {
        this.db = db;
    }

    public void parse(StringTokenizer st) {
        Link l = new Link();
        l.setFrom(st.nextToken());
        l.setTo(st.nextToken());

        db.addLink(l);
    }
View Full Code Here


        dt.setType(DateTime.Type.UTC);
        z.setUntil(dt);

        db.addZone("zone", z);
       
        Link l = new Link();
        l.setFrom("zone");
        l.setTo("alias");

        db.addLink(l);

        assertEquals(1, db.getZones().size());
View Full Code Here

TOP

Related Classes of ch.pollet.jzic.timezone.Link

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.