Index: branches/version-2_12-dev/data/class/util/GC_Utils.php
===================================================================
--- branches/version-2_12-dev/data/class/util/GC_Utils.php	(revision 21516)
+++ branches/version-2_12-dev/data/class/util/GC_Utils.php	(revision 21579)
@@ -30,77 +30,4 @@
  */
 class GC_Utils {
-
-    /*----------------------------------------------------------------------
-     * [名称] gfDownloadCsv
-     * [概要] 引数データをCSVとして、クライアントにダウンロードさせる
-     * [引数] 1:ヘッダ文字列 2:CSVデータ
-     * [戻値] -
-     * [依存] -
-     * [注釈] 引数は１，２ともカンマ区切りになっていること
-     *----------------------------------------------------------------------*/
-    function gfDownloadCsv($header, $contents) {
-
-        $fiest_name = date('YmdHis') .'.csv';
-
-        /* HTTPヘッダの出力 */
-        Header("Content-disposition: attachment; filename=${fiest_name}");
-        Header("Content-type: application/octet-stream; name=${fiest_name}");
-
-        $return = $header.$contents;
-        if (mb_detect_encoding($return) == CHAR_CODE) {
-            // 文字コード変換
-            $return = mb_convert_encoding($return,'SJIS',CHAR_CODE);
-            // 改行方法の統一
-            $return = str_replace( array("\r\n", "\r"), "\n", $return);
-        }
-        echo $return;
-    }
-
-    /*----------------------------------------------------------------------
-     * [名称] gfSetCsv
-     * [概要] 引数の配列をCSV形式に変換する
-     * [引数] 1:CSVにする配列 2:引数1が連想配列時の添え字を指定した配列
-     * [戻値] CSVデータ
-     * [依存] -
-     * [注釈] -
-     *----------------------------------------------------------------------*/
-    function gfSetCsv($array, $arrayIndex = '') {
-        //引数$arrayIndexは、$arrayが連想配列のときに添え字を指定してやるために使用する
-
-        $return = '';
-        for ($i=0; $i<count($array); $i++) {
-
-            for ($j=0; $j<count($array[$i]); $j++) {
-                if ($j > 0) $return .= ',';
-                $return .= "\"";
-                if ($arrayIndex) {
-                    $return .= mb_ereg_replace('<','＜',mb_ereg_replace("\"","\"\"",$array[$i][$arrayIndex[$j]])) ."\"";
-                } else {
-                    $return .= mb_ereg_replace('<','＜',mb_ereg_replace("\"","\"\"",$array[$i][$j])) ."\"";
-                }
-            }
-            $return .= "\n";
-        }
-
-        return $return;
-    }
-
-    /*----------------------------------------------------------------------
-     * [名称] gfGetAge
-     * [概要] 日付より年齢を計算する。
-     * [引数] 1:日付文字列(yyyy/mm/dd、yyyy-mm-dd hh:mm:ss等)
-     * [戻値] 年齢の数値
-     * [依存] -
-     * [注釈] -
-     *----------------------------------------------------------------------*/
-    function gfGetAge($dbdate) {
-        $ty = date('Y');
-        $tm = date('m');
-        $td = date('d');
-        list($by, $bm, $bd) = preg_split('/[-/ ]/', $dbdate);
-        $age = $ty - $by;
-        if($tm * 100 + $td < $bm * 100 + $bd) $age--;
-        return $age;
-    }
 
     /**
