1 | <?php |
||
37 | class DateConverter implements DateConverterConfigurationInterface |
||
38 | { |
||
39 | |||
40 | /** |
||
41 | * The date converter's class name. |
||
42 | * |
||
43 | * @var string |
||
44 | * @Type("string") |
||
45 | */ |
||
46 | protected $id = DependencyInjectionKeys::IMPORT_SUBJECT_DATE_CONVERTER_SIMPLE; |
||
47 | |||
48 | /** |
||
49 | * The source date format to use. |
||
50 | * |
||
51 | * @var string |
||
52 | * @Type("string") |
||
53 | * @SerializedName("source-date-format") |
||
54 | */ |
||
55 | protected $sourceDateFormat = 'n/d/y, g:i A'; |
||
56 | |||
57 | /** |
||
58 | * Returns the date converter's unique DI identifier. |
||
59 | * |
||
60 | * @return string The date converter's unique DI identifier |
||
61 | */ |
||
62 | public function getId() |
||
66 | |||
67 | /** |
||
68 | * Returns the source date format to use. |
||
69 | * |
||
70 | * @return string The source date format |
||
71 | */ |
||
72 | public function getSourceDateFormat() |
||
76 | } |
||
77 |