equal
deleted
inserted
replaced
9 /** |
9 /** |
10 * Utilities functions |
10 * Utilities functions |
11 */ |
11 */ |
12 class Utils { |
12 class Utils { |
13 |
13 |
|
14 const SUBJECT_TYPE_BNF = 'bnf'; |
|
15 const SUBJECT_TYPE_LEXVO = 'lxv'; |
|
16 const SUBJECT_TYPE_OLAC = 'olac'; |
|
17 const SUBJECT_TYPE_TXT = 'txt'; |
14 |
18 |
15 /** |
19 /** |
16 * convert DateIntervals to milliseconds |
20 * convert DateIntervals to milliseconds |
17 * Months and year calculated by approximation based on average number |
21 * Months and year calculated by approximation based on average number |
18 * of days over 4 years (365*4+1) |
22 * of days over 4 years (365*4+1) |