- 
		Home
	
 
	- 
Pods – Custom Content Types and Fields
 
- 
2.8.5
 
- 
Code
 
- 
Classes
 
-  PodsField_DateTime 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											115 | 
										
																			
											| Dependencies | 
											4 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,041 | 
										
																			
											| Lines of code | 
											640 | 
										
																			
											| Logical lines of code | 
											276 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											224 | 
										
																			
											| Methods | 
											22 | 
										
																			
											| Properties | 
											6 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 22
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| convert_format() | 
									A  | 
																	36 | 
													13 | 
													85 | 
							
					
				| options() | 
									A  | 
																	28  | 
													3 | 
													179 | 
							
					
				| enqueue_jquery_ui_i18n() | 
									A  | 
																	46 | 
													12 | 
													35 | 
							
					
				| createFromFormat() | 
									A  | 
																	50 | 
													10 | 
													29 | 
							
					
				| input() | 
									A  | 
																	49 | 
													10 | 
													28 | 
							
					
				| convert_date() | 
									A  | 
																	50 | 
													9 | 
													30 | 
							
					
				| format_date() | 
									S  | 
																	50 | 
													7 | 
													28 | 
							
					
				| validate() | 
									S  | 
																	50 | 
													6 | 
													28 | 
							
					
				| format_time() | 
									S  | 
																	50 | 
													6 | 
													28 | 
							
					
				| is_storage_format() | 
									S  | 
																	56 | 
													6 | 
													19 | 
							
					
				| format_value_display() | 
									S  | 
																	53 | 
													5 | 
													22 | 
							
					
				| pre_save() | 
									S  | 
																	59 | 
													4 | 
													14 | 
							
					
				| get_date_formats() | 
									S  | 
																	51 | 
													3 | 
													27 | 
							
					
				| get_time_formats() | 
									S  | 
																	53 | 
													3 | 
													22 | 
							
					
				| format_display() | 
									S  | 
																	56 | 
													3 | 
													17 | 
							
					
				| get_time_formats_24() | 
									S  | 
																	59 | 
													3 | 
													14 | 
							
					
				| is_empty() | 
									S  | 
																	66 | 
													3 | 
													8 | 
							
					
				| ui() | 
									S  | 
																	67 | 
													3 | 
													7 | 
							
					
				| format_datetime() | 
									S  | 
																	65 | 
													3 | 
													8 | 
							
					
				| setup() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| schema() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| display() | 
									S  | 
																	75 | 
													1 | 
													4 |