Posted in未分类
ISO 8601 Duration Builder Field Guide: When PnYnMnDTnHnMnS Rules The Time Interval Grammar
A field guide to the ISO 8601 PnYnMnDTnHnMnS duration grammar, with the four edge cases that ruin most naive parsers and the four programming stacks that implement months four different ways.