import { CustomField as CustomFieldBase , OrderableEdmTypeField } from '@sap-cloud-sdk/odata-common/internal' ; import { DeSerializers } from '../de-serializers/de-serializers' ; import type { Entity } from '../entity' ; export class CustomField < EntityT extends Entity , DeSerializersT extends DeSerializers , NullableT extends boolean = false > extends CustomFieldBase < EntityT , DeSerializersT , NullableT > { edmDateTime ( ) { return this . fieldBuilder . buildEdmTypeField ( this . _fieldName , 'Edm.DateTime' , this . _fieldOptions . isNullable ) ; } edmTime ( ) { return this . fieldBuilder . buildEdmTypeField ( this . _fieldName , 'Edm.Time' , this . _fieldOptions . isNullable ) ; } }