πDateEx
The module that handles date and time operations.
Imports
import { DateExService } from 'niro-health';import { DateExModule } from 'niro-health';import type { IDateExService } from 'niro-health';Environment Variables
name
description
TZ=America/Sao_PauloMethod of Use
import { Module } from '@nestjs/common';
import {
DateExService,
ConfigurationService,
ValidatorRegexpService,
StringExService,
} from 'niro-health';
import { AppController } from './app.controller';
import { AppService } from './app.service';
@Module({
controllers: [AppController],
providers: [
AppService,
{
provide: 'IDateExService',
useClass: DateExService,
},
{
provide: 'IConfigurationService',
useClass: ConfigurationService,
},
{
provide: 'IValidatorRegexpService',
useClass: ValidatorRegexpService,
},
{
provide: 'IStringExService',
useClass: StringExService,
},
],
})
export class AppModule {}With dependencies
Interface
Service
Properties
Property
Scope
Description
Methods
Method
Scope
Description
Last updated