-
Home
-
LearnPress – WordPress LMS Plugin
-
4.1.7.3.1
-
Code
-
Classes
- LP_Datetime
Total Complexity |
40 |
Dependencies |
1 |
Dependents |
5 |
Total lines |
366 |
Lines of code |
120 |
Logical lines of code |
68 |
Comment lines |
202 |
Methods |
20 |
Properties |
6 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
format() |
A |
50 |
8 |
30 |
get_default_timezone() |
S |
61 |
5 |
12 |
__construct() |
S |
62 |
4 |
11 |
getOffset() |
S |
77 |
3 |
3 |
getTimestamp() |
S |
69 |
2 |
7 |
toLocal() |
S |
66 |
2 |
8 |
getPeriod() |
S |
67 |
2 |
7 |
is_null() |
S |
79 |
2 |
3 |
__toString() |
S |
79 |
1 |
3 |
get_local_date_time() |
S |
91 |
1 |
2 |
__get() |
S |
80 |
1 |
3 |
get_raw_date() |
S |
82 |
1 |
3 |
toSql() |
S |
79 |
1 |
3 |
toRFC822() |
S |
79 |
1 |
3 |
toUnix() |
S |
75 |
1 |
4 |
is_exceeded() |
S |
78 |
1 |
3 |
setGMT() |
S |
80 |
1 |
3 |
getSqlNullDate() |
S |
76 |
1 |
4 |
addDuration() |
S |
71 |
1 |
5 |
toISO8601() |
S |
80 |
1 |
3 |