| 
                                
                                    @@ 78-84 (lines=7) @@
                                 | 
                            
                                                            
                                    | 75 | 
                                     | 
                                     | 
                                
                                                            
                                    | 76 | 
                                     | 
                                      }  | 
                                
                                                            
                                    | 77 | 
                                     | 
                                     | 
                                
                                                            
                                    | 78 | 
                                     | 
                                      public function from( $calendar ) { | 
                                
                                                            
                                    | 79 | 
                                     | 
                                     | 
                                
                                                            
                                    | 80 | 
                                     | 
                                        $this->calendar_file = include( 'CalendarSettings/' . ucfirst( $calendar ) . '.php' );  | 
                                
                                                            
                                    | 81 | 
                                     | 
                                     | 
                                
                                                            
                                    | 82 | 
                                     | 
                                        return $this->calendar_file[ 'convert_from' ]( $this->date_time );  | 
                                
                                                            
                                    | 83 | 
                                     | 
                                     | 
                                
                                                            
                                    | 84 | 
                                     | 
                                      }  | 
                                
                                                            
                                    | 85 | 
                                     | 
                                     | 
                                
                                                            
                                    | 86 | 
                                     | 
                                      /************************************************************  | 
                                
                                                            
                                    | 87 | 
                                     | 
                                       * Convert to specific calendar  | 
                                
                                                                                
                                 | 
                                
                                    @@ 94-100 (lines=7) @@
                                 | 
                            
                                                            
                                    | 91 | 
                                     | 
                                       *  | 
                                
                                                            
                                    | 92 | 
                                     | 
                                       *\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\  | 
                                
                                                            
                                    | 93 | 
                                     | 
                                       */  | 
                                
                                                            
                                    | 94 | 
                                     | 
                                      public function to( $calendar ) { | 
                                
                                                            
                                    | 95 | 
                                     | 
                                     | 
                                
                                                            
                                    | 96 | 
                                     | 
                                        $this->calendar_file = include( 'CalendarSettings/' . ucfirst( $calendar ) . '.php' );  | 
                                
                                                            
                                    | 97 | 
                                     | 
                                     | 
                                
                                                            
                                    | 98 | 
                                     | 
                                        return $this->calendar_file[ 'convert_to' ]( $this->date_time );  | 
                                
                                                            
                                    | 99 | 
                                     | 
                                     | 
                                
                                                            
                                    | 100 | 
                                     | 
                                      }  | 
                                
                                                            
                                    | 101 | 
                                     | 
                                     | 
                                
                                                            
                                    | 102 | 
                                     | 
                                    /**  | 
                                
                                                            
                                    | 103 | 
                                     | 
                                       *convert shamsi year to gregorian year  |