public function format($format, $language = 'en')
    {
        $this->format = $format;
        $this->language = $language;

        return $this;
    }
public function format($format, $language = 'en')
    {
        $this->format = $format;
        $this->language = $language;

        return $this;
    }
public function format ( $ format , $ language = 'en' ) { $ this -> format = $ format ; $ this -> language = $ language ; return $ this ; }
set instarnal preview date format
@param $format valid php date format
@param string $language valid DatePicker language string http://bootstrap-datepicker.readthedocs.org/en/release/options.html#language
set instarnal preview date format