-
Home
-
LearnPress – WordPress LMS Plugin
-
4.2.5.7
-
Code
-
Classes
- LP_Datetime
Total Complexity |
51 |
Dependencies |
3 |
Dependents |
6 |
Total lines |
443 |
Lines of code |
189 |
Logical lines of code |
106 |
Comment lines |
203 |
Methods |
21 |
Properties |
6 |
Methods 21
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
format() |
A |
44 |
9 |
49 |
format_human_time_diff() |
S |
55 |
6 |
20 |
get_string_plural_duration() |
S |
51 |
5 |
31 |
get_default_timezone() |
S |
61 |
5 |
12 |
__construct() |
S |
63 |
4 |
10 |
getOffset() |
S |
73 |
3 |
4 |
is_null() |
S |
79 |
2 |
3 |
toLocal() |
S |
66 |
2 |
8 |
getTimestamp() |
S |
66 |
2 |
9 |
toSql() |
S |
72 |
2 |
6 |
__toString() |
S |
80 |
1 |
3 |
get_raw_date() |
S |
82 |
1 |
3 |
toISO8601() |
S |
80 |
1 |
3 |
is_exceeded() |
S |
80 |
1 |
3 |
toSqlLocal() |
S |
74 |
1 |
4 |
toRFC822() |
S |
75 |
1 |
4 |
toUnix() |
S |
80 |
1 |
3 |
setGMT() |
S |
80 |
1 |
3 |
getSqlNullDate() |
S |
76 |
1 |
4 |
addDuration() |
S |
75 |
1 |
4 |
getPeriod() |
S |
80 |
1 |
3 |