Expand description
SAS format string classification using regex-based detection.
SAS variables carry format strings (e.g. DATE9, DATETIME22.3, TIME8) that
determine how raw numeric values should be interpreted. This module classifies
those format strings into ReadStatVarFormatClass variants (Date, DateTime,
Time, and their sub-second precision variants), enabling correct Arrow type mapping.
Supports all 118+ SAS date/time/datetime formats including ISO 8601 variants,
national language (NL*) formats, and precision-based datetime/time formats.
Staticsยง
- RE_DATE ๐
- RE_
DATETIME ๐ - RE_
DATETIME_ ๐WITH_ MICRO - RE_
DATETIME_ ๐WITH_ MILLI - RE_
DATETIME_ ๐WITH_ NANO - RE_TIME ๐
- RE_
TIME_ ๐WITH_ MICRO
Functionsยง
- match_
var_ ๐format - Classifies a SAS format string into a
ReadStatVarFormatClass.