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
|
|
|
|
* and the date formatDate methid will return the time formated
|
|
|
|
* to the lines of text on the screen
|
|
|
|
*/
|
|
|
|
name(){return "no name";}
|
2022-06-28 10:08:43 +00:00
|
|
|
shortName(){return "no short name"}
|
2021-04-07 21:45:50 +00:00
|
|
|
formatDate(date){
|
|
|
|
return ["no","date","defined"];
|
|
|
|
}
|
2022-07-30 09:53:21 +00:00
|
|
|
rowProperties(row_no){ return {} }
|
2021-04-07 21:45:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = DateFormatter;
|