JAVA開発メモ
Commons-Lang のバックアップ(No.1)
 

[トップ|一覧|単語検索|最終更新|バックアップ|ヘルプ]


if (StringUtils.isEmpty(str)) { System.out.println(str.toUpperCase()); } StringUtils.split(" abc def ") -> ["abc", "def"] StringUtils.split("abc def", null) -> ["abc", "def"] StringUtils.split("ab:cd:ef", ":") -> ["ab", "cd", "ef"] StringUtils.split("ab::ef", ":") -> ["ab", "ef"] StringUtils.join([null, "", "a", "bc"]) -> "abc" StringUtils.join(["a", "b", "c"], null) -> "abc" StringUtils.join([null, "", "a", "bc"], ',') -> ",,a,bc" Calendar cal = DateUtils.round(Calendar.getInstance(), Calendar.DATE) Calendar cal = DateUtils.truncate(Calendar.getInstance(), Calendar.DATE) Iterator days = DateUtils.iterator(Calendar.getInstance(), DateUtils.RANGE_WEEK_SUNDAY)
トップ 一覧 検索 最終更新 バックアップ   ヘルプ   最終更新のRSS

Modified by MT22(Moriwaki Takashi)

"PukiWiki" 1.3.7 Copyright © 2001,2002,2003 PukiWiki Developers Team. License is GNU/GPL.
Based on "PukiWiki" 1.3 by sng
Powered by PHP 7.4.33

HTML convert time to 0.009 sec.