@Test public void createsFormatFromTrait() { TimestampFormatTrait trait = new TimestampFormatTrait("date-time"); assertThat(trait.getFormat(), equalTo(TimestampFormatTrait.Format.DATE_TIME)); }
public Format getFormat() { return Format.fromString(getValue()); }
TimestampFormatTrait extends StringTrait { public Format getFormat() { return Format.fromString(getValue()); } }
TimestampFormatTrait extends StringTrait { public Format getFormat() { return Format.fromString(getValue()); } TimestampFormatTrait(String value, SourceLocation sourceLocation);  TimestampFormatTrait(String value); }
TimestampFormatTrait extends StringTrait { public Format getFormat() { return Format.fromString(getValue()); } TimestampFormatTrait(String value, SourceLocation sourceLocation);  TimestampFormatTrait(String value); Format getFormat(); }
TimestampFormatTrait extends StringTrait { public Format getFormat() { return Format.fromString(getValue()); } TimestampFormatTrait(String value, SourceLocation sourceLocation);  TimestampFormatTrait(String value); Format getFormat(); static final String EPOCH_SECONDS; static final String DATE_TIME; static final String HTTP_DATE; static final ShapeId ID; }