namespace Funique { /// /// String related utility methods
/// ------------------------------------------------
/// 字串相關幫助函式 ///
public interface IToolStringExtension { /// /// Remove only the time label
/// ------------------------------------------------
/// 只移除 檔案名稱中的時間標籤 ///
/// /// string FilterVideoName(string videoSourceName); /// /// Get the video name time by file name
/// ------------------------------------------------
/// 得到檔案名稱中時間標籤所表示的時間 ///
/// /// Total Second float FilterVideoTime(string VideoSourceName); /// /// Translate the time string to double data
/// ------------------------------------------------
/// 將時間字串轉換成 Double 精準資料 ///
/// /// Example: 1m30s -> 90.0
///
/// /// double TranslateTime(string timeString); /// /// Filter time, extension, but keep stereo label
/// ------------------------------------------------
/// 過濾時間. 副檔名, 但是留下劇院標籤 ///
/// /// test_name_3dv_5h2m1s.mp4 => test_name_3dv /// /// /// string FilterBtnName(string VideoSourceName); /// /// Added the time string in the end of the filter file name
/// ------------------------------------------------
/// 加上時間字串 在 過濾檔案標題之結尾 ///
/// Filter name /// Total Second /// string MergeTime(string name, double time); /// /// Detect stereo mode from file name
/// ------------------------------------------------
/// 偵測檔案標籤中所要表示的劇院模式 ///
/// /// string DetectStereoMode(string videoFilterName); } }