- 
		Home
	
- 
Pods – Custom Content Types and Fields
- 
2.8.21
- 
Code
- 
Classes
-  Tribe__Timezones 
		
			
				
					
													
								
																			
											| Total Complexity | 87 | 
																			
											| Dependencies | 5 | 
																			
											| Dependents | 3 | 
																	
							 
													
								
																			
											| Total lines | 617 | 
																			
											| Lines of code | 283 | 
																			
											| Logical lines of code | 173 | 
																	
							 
													
								
																			
											| Comment lines | 236 | 
																			
											| Methods | 22 | 
																			
											| Properties | 1 | 
																	
							 
											 
				 
									
							 
		 
	 
	Methods 22
	
		
		
			| Method | Rating | Maintainability | Complexity | Lines of code | 
		
		
					
				| abbr() | A | 51 | 11 | 25 | 
					
				| generate_timezone_string_from_utc_offset() | A | 50 | 9 | 28 | 
					
				| apply_offset() | S | 50 | 7 | 28 | 
					
				| maybe_get_tz_name() | S | 54 | 7 | 21 | 
					
				| build_timezone_object() | S | 55 | 7 | 19 | 
					
				| timezone_from_utc_offset() | S | 54 | 6 | 19 | 
					
				| localize_date() | S | 56 | 4 | 18 | 
					
				| get_timezone() | S | 59 | 4 | 15 | 
					
				| to_utc() | S | 59 | 4 | 14 | 
					
				| wp_timezone_string() | S | 60 | 4 | 13 | 
					
				| to_tz() | S | 61 | 4 | 12 | 
					
				| is_valid_timezone() | S | 63 | 3 | 11 | 
					
				| get_valid_timezone() | S | 64 | 3 | 10 | 
					
				| wp_timezone_abbr() | S | 71 | 2 | 5 | 
					
				| is_utc_offset() | S | 73 | 2 | 4 | 
					
				| mode() | S | 68 | 2 | 7 | 
					
				| convert_date_from_timezone() | S | 63 | 2 | 10 | 
					
				| adjust_timestamp() | S | 63 | 2 | 10 | 
					
				| init() | S | 80 | 1 | 3 | 
					
				| invalidate_caches() | S | 75 | 1 | 4 | 
					
				| clear_site_timezone_abbr() | S | 76 | 1 | 4 | 
					
				| is_mode() | S | 79 | 1 | 3 |