private static function _calendarDetail($locale, $list)
    {
        $ret = "001";
        foreach ($list as $key => $value) {
            if (strpos($locale, '_') !== false) {
                $locale = substr($locale, strpos($locale, '_') + 1);
            }
            if (strpos($key, $locale) !== false) {
                $ret = $key;
                break;
            }
        }
        return $ret;
    }
private static function _calendarDetail($locale, $list)
    {
        $ret = "001";
        foreach ($list as $key => $value) {
            if (strpos($locale, '_') !== false) {
                $locale = substr($locale, strpos($locale, '_') + 1);
            }
            if (strpos($key, $locale) !== false) {
                $ret = $key;
                break;
            }
        }
        return $ret;
    }
private static function _calendarDetail ( $ locale , $ list ) { $ ret = "001" ; foreach ( $ list as $ key => $ value ) { if ( strpos ( $ locale , '_' ) !== false ) { $ locale = substr ( $ locale , strpos ( $ locale , '_' ) + 1 ) ; } if ( strpos ( $ key , $ locale ) !== false ) { $ ret = $ key ; break ; } } return $ ret ; }
Find the details for supplemental calendar datas

@param  string $locale Locale for Detaildata
@param  array  $list   List to search
@return string         Key for Detaildata
Find the details for supplemental calendar datas