@Test public void testCast() { LocalDateTimeType type = LocalDateTimeType.instance(); Object o = LocalDateTime.parse("2007-12-03T00:00"); assertEquals(LocalDateTime.parse("2007-12-03T00:00"), type.cast(o)); assertTrue(type.cast(o) instanceof LocalDateTime); }
@Override public LocalDateTime cast(Object o) throws RuntimeException { return (LocalDateTime)o; }
LocalDateTimeType extends BaseValueType<LocalDateTime> { @Override public LocalDateTime cast(Object o) throws RuntimeException { return (LocalDateTime)o; } }
LocalDateTimeType extends BaseValueType<LocalDateTime> { @Override public LocalDateTime cast(Object o) throws RuntimeException { return (LocalDateTime)o; } private  LocalDateTimeType(); }
LocalDateTimeType extends BaseValueType<LocalDateTime> { @Override public LocalDateTime cast(Object o) throws RuntimeException { return (LocalDateTime)o; } private  LocalDateTimeType(); @Deprecated static LocalDateTimeType get(); static LocalDateTimeType instance(); @Override LocalDateTime parse(String sourceValue); @Override LocalDateTime cast(Object o); }
LocalDateTimeType extends BaseValueType<LocalDateTime> { @Override public LocalDateTime cast(Object o) throws RuntimeException { return (LocalDateTime)o; } private  LocalDateTimeType(); @Deprecated static LocalDateTimeType get(); static LocalDateTimeType instance(); @Override LocalDateTime parse(String sourceValue); @Override LocalDateTime cast(Object o);  }