2021-04-07 21:45:50 +00:00
|
|
|
class DateFormatter {
|
|
|
|
/**
|
|
|
|
* A pure virtual class which all the other date formatters will
|
|
|
|
* inherit from.
|
|
|
|
* The name will be used to declare the date format when selected
|
2022-07-31 15:17:24 +00:00
|
|
|
* and the date formatDate method will return the time formated
|
2021-04-07 21:45:50 +00:00
|
|
|
* to the lines of text on the screen
|
|
|
|
*/
|
2022-07-30 23:17:24 +00:00
|
|
|
formatDate(date){ return ["no","date","defined"]; }
|
2022-09-29 18:05:44 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* returns a map of the different row types
|
|
|
|
*/
|
|
|
|
defaultRowTypes(){}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* returns a list of row definitions (1 definition can cover m
|
|
|
|
*/
|
|
|
|
defaultRowDefs(){ return [];}
|
2021-04-07 21:45:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = DateFormatter;
|