Tribe__Date_Utils D

Total Complexity 209
Dependencies 11
Dependents 52
Total lines 1,672
Lines of code 769
Logical lines of code 420
Comment lines 653
Methods 64
Properties 5

Methods 64

Method Rating Maintainability Complexity Lines of code
datetime_from_format()
A
40 13 57
wp_locale_weekday()
A
43 12 51
wp_locale_month()
A
44 9 46
get_shifted_end_of_day()
A
48 10 30
build_date_object()
A
49 10 30
get_shifted_start_of_day()
A
48 10 30
get_week_start_end()
A
44 8 45
get_weekday_timestamp()
A
50 9 28
wp_strtotime()
A
49 7 31
range_coincides()
S
63 7 10
get_first_day_of_week_in_month()
S
62 7 9
get_modifier_from_offset()
S
59 6 12
immutable()
S
55 5 20
datepicker_formats()
S
48 3 32
is_now()
S
58 4 16
maybe_format_from_datepicker()
S
61 4 13
get_localized_months_full()
S
53 3 23
get_localized_months_short()
S
53 3 23
sort()
S
58 3 17
is_timestamp()
S
69 4 6
is_all_day()
S
65 4 9
reformat()
S
62 3 11
get_last_day_of_week_in_month()
S
65 3 7
number_to_ordinal()
S
69 3 5
date_only()
S
67 3 7
get_localized_weekdays_short()
S
71 2 6
build_localized_weekdays()
S
64 2 9
build_localized_months()
S
63 2 9
unescape_date_format()
S
70 2 6
endOfDay()
S
68 2 7
beginningOfDay()
S
68 2 7
get_localized_weekdays_initial()
S
71 2 6
week_ends_on()
S
75 2 4
get_localized_weekdays_full()
S
71 2 6
last_day_in_month()
S
64 2 10
first_day_in_month()
S
64 2 10
is_valid_date()
S
63 2 10
interval()
S
67 2 8
meridian_only()
S
74 2 4
minutes_only()
S
74 2 4
hour_only()
S
74 2 4
time_only()
S
74 2 4
isWeekend()
S
74 1 4
isTimestamp()
S
74 1 4
numberToOrdinal()
S
74 1 4
getFirstDayOfWeekInMonth()
S
74 1 4
getLastDayOfWeekInMonth()
S
74 1 4
get_datepicker_format_index()
S
78 1 3
isWeekday()
S
74 1 4
getLastDayOfMonth()
S
74 1 4
dateDiff()
S
74 1 4
timeBetween()
S
74 1 4
meridianOnly()
S
74 1 4
minutesOnly()
S
74 1 4
hourOnly()
S
74 1 4
timeOnly()
S
74 1 4
dateOnly()
S
74 1 4
is_weekend()
S
77 1 3
is_weekday()
S
76 1 3
get_last_day_of_month()
S
66 1 7
date_diff()
S
74 1 4
time_between()
S
78 1 3
round_nearest_half_hour()
S
71 1 5
mutable()
S
78 1 3