import { DatabaseHelper } from '../types' ; import { Knex } from 'knex' ; export abstract class DateHelper extends DatabaseHelper { abstract year ( table , column ) ; abstract month ( table , column ) ; abstract week ( table , column ) ; abstract day ( table , column ) ; abstract weekday ( table , column ) ; abstract hour ( table , column ) ; abstract minute ( table , column ) ; abstract second ( table , column ) ; parse ( date ) { return date ; } }