Home | History | Annotate | Download | only in jodatime

Lines Matching full:timestamp

34     private static final long timestamp = 1000000000000L;
37 DateTime time = new DateTime(timestamp, DateTimeZone.UTC);
40 String date = new Yaml().dump(new Date(timestamp));
48 assertEquals(new DateTime(timestamp, DateTimeZone.UTC), time);
57 String timestamp = yaml.dump(someDate);
58 assertEquals("0009-02-22T23:40:28Z\n", timestamp);
59 // System.out.println(timestamp);
60 Object o = yaml.load(timestamp);
72 if (nnode.getTag().equals("tag:yaml.org,2002:timestamp")) {
73 Construct dateConstructor = yamlConstructors.get(Tag.TIMESTAMP);
94 // Whenever we see an explicit timestamp tag, make a Joda Date
96 yamlConstructors.put(Tag.TIMESTAMP, jodaDateConstruct);
112 if (nnode.getTag().equals(Tag.TIMESTAMP)) {