Skip to content

Package io.github.qishr.cascara.common.lang.type

Class LocalDateTimeTypeDescriptor

java.lang.Object
        io.github.qishr.cascara.common.lang.type.AbstractTypeDescriptor<java.time.LocalDateTime>
                io.github.qishr.cascara.common.lang.type.AbstractScalarDescriptor<java.time.LocalDateTime>
                        io.github.qishr.cascara.common.lang.type.LocalDateTimeTypeDescriptor


public class LocalDateTimeTypeDescriptor
extends AbstractScalarDescriptor<LocalDateTime>

Constructor Summary

Constructor Description
LocalDateTimeTypeDescriptor()

Method Summary

Modifier and Type Method Description
public LocalDateTime toJvmType(String text)
public Object toPrimitive(LocalDateTime jvmInstance)
public boolean validate(String text, Reporter collector)

Methods inherited from AbstractTypeDescriptor

getSchemaType, getServiceProperties, getJvmType

Methods inherited from AbstractScalarDescriptor

getFormat, populateSchema, getContentEncoding, formatError

Method Details

toJvmType

public LocalDateTime toJvmType(String text)


toPrimitive

public Object toPrimitive(LocalDateTime jvmInstance)


validate

public boolean validate(String text, Reporter collector)