class
XlsxParser::Styles::Converter
- XlsxParser::Styles::Converter
- Reference
- Object
Defined in:
xlsx-parser/styles/converter.crConstant Summary
-
ISO_DATE_FORMATS =
["%FT%T.%N", "%FT%T", "%F"]
Class Method Summary
-
.call(value : String, type : String | Nil, style : Format | Nil, book : Book) : Sheet::Type
Convert the raw
valueof a cell given its type attribute (t) and style format.
Class Method Detail
def self.call(value : String, type : String | Nil, style : Format | Nil, book : Book) : Sheet::Type
#
Convert the raw value of a cell given its type attribute (t) and style format.
Handled cell types: s (shared string), inlineStr, str (formula string), e (error), b (boolean), d (ISO 8601 date) and n (number, the default).