public class ConditionDateFormatter extends ConditionFormatter
callbacks, color, conditions, locale, operator, pattern| コンストラクタと説明 |
|---|
ConditionDateFormatter(String pattern) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
addAllTerms(List<Term<Calendar>> terms)
フォーマットの複数の項を追加する。
|
void |
addTerm(Term<Calendar> term)
フォーマットの項を追加する。
|
CellFormatResult |
format(CommonCell cell,
Locale runtimeLocale)
ロケールを指定して値フォーマットする。
|
List<Term<Calendar>> |
getTerms()
フォーマットの項を全て取得する。
|
FormatterType |
getType()
フォーマッタの種類を取得する。
|
boolean |
isMatch(CommonCell cell)
値が条件に一致するかどうか。
|
addAllCondition, addCallback, addCondition, addFirstCallcack, format, getCallbacks, getColor, getConditions, getLocale, getOperator, getPattern, isDateFormatter, isNumberFormatter, isTextFormatter, setColor, setLocale, setOperatorpublic ConditionDateFormatter(String pattern)
public FormatterType getType()
ConditionFormattergetType クラス内 ConditionFormatterpublic boolean isMatch(CommonCell cell)
Excelの1900年1月1日を基準に、ミリ秒に直して判定する。
isMatch クラス内 ConditionFormattercell - public CellFormatResult format(CommonCell cell, Locale runtimeLocale)
ConditionFormatterformat クラス内 ConditionFormattercell - フォーマット対象のセル。runtimeLocale - 実行時のロケール。nullの場合は、実行環境のロケールが指定される。Copyright © 2021 mygreen. All rights reserved.