Dateonly constructor

Dateonly(
  1. TypeProperty property
)

Implementation

Dateonly(TypeProperty property){
  super.stack.add(Stack(ObjType.datetime, TypeProperty(
    property.nullAble,
    property.nullValue is DateTime?
    DateTime((property.nullValue as DateTime).year, (property.nullValue as DateTime).month, (property.nullValue as DateTime).day )
    :null)));
}