- 
		Home
	
- 
LearnPress – WordPress LMS Plugin
- 
4.1.6
- 
Code
- 
Classes
-  LP_Datetime 
		
			
				
					
													
								
																			
											| Total Complexity | 65 | 
																			
											| Dependencies | 1 | 
																			
											| Dependents | 6 | 
																	
							 
													
								
																			
											| Total lines | 356 | 
																			
											| Lines of code | 187 | 
																			
											| Logical lines of code | 125 | 
																	
							 
													
								
																			
											| Comment lines | 107 | 
																			
											| Methods | 20 | 
																			
											| Properties | 6 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 20
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| __get() | A | 45 | 13 | 43 | 
					
				| format() | A | 46 | 12 | 37 | 
					
				| __construct() | A | 52 | 8 | 24 | 
					
				| setGMT() | S | 63 | 6 | 11 | 
					
				| get_default_timezone() | S | 62 | 5 | 11 | 
					
				| getOffset() | S | 77 | 3 | 3 | 
					
				| is_null() | S | 79 | 2 | 3 | 
					
				| toLocal() | S | 68 | 2 | 7 | 
					
				| getTimestamp() | S | 66 | 2 | 9 | 
					
				| getPeriod() | S | 67 | 2 | 7 | 
					
				| is_exceeded() | S | 78 | 1 | 3 | 
					
				| get_raw_date() | S | 82 | 1 | 3 | 
					
				| __toString() | S | 79 | 1 | 3 | 
					
				| setTimezone() | S | 76 | 1 | 4 | 
					
				| toISO8601() | S | 79 | 1 | 3 | 
					
				| toSql() | S | 79 | 1 | 3 | 
					
				| toRFC822() | S | 79 | 1 | 3 | 
					
				| toUnix() | S | 79 | 1 | 3 | 
					
				| getSqlNullDate() | S | 81 | 1 | 3 | 
					
				| addDuration() | S | 74 | 1 | 4 |