elixlsx v0.0.3 Elixlsx.Style.NumFmt

Summary

Functions

returns a standard semi-iso datetime format

returns a semi-ISO date format (YYYY-MM-DD)

in contrast to most (all?) other entries in styles.xml, numFmts actually carry their index in each element; probably to avoid confusion with the built-in styles. Therefore, get_stylexml_entry requires a second parameter here

Types

t :: %Elixlsx.Style.NumFmt{format: String.t}

Functions

date_datetime()

returns a standard semi-iso datetime format.

date_yyyy_mm_dd()

returns a semi-ISO date format (YYYY-MM-DD)

from_props(props)
get_stylexml_entry(numfmt, idx)

in contrast to most (all?) other entries in styles.xml, numFmts actually carry their index in each element; probably to avoid confusion with the built-in styles. Therefore, get_stylexml_entry requires a second parameter here.

is_date?(numfmt)