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