[{"data":1,"prerenderedAt":482},["ShallowReactive",2],{"page-\u002Futils\u002Fapi\u002Ffunctions\u002FparseDateDuration":3,"navigation":95},{"collection":4,"page":5},"docs_en",{"id":6,"title":7,"body":8,"description":85,"extension":86,"meta":87,"navigation":89,"path":90,"rawbody":91,"seo":92,"stem":93,"__hash__":94},"docs_en\u002Futils\u002Fapi\u002Ffunctions\u002FparseDateDuration.md","parseDateDuration",{"type":9,"value":10,"toc":76},"minimark",[11,37,51,56,59,64,68],[12,13,14],"blockquote",{},[15,16,17,20,21,25,26,33,34],"p",{},[18,19,7],"strong",{},"(",[22,23,24],"code",{},"value","): ",[27,28,30],"a",{"href":29},"\u002Futils\u002Fapi\u002Ftype-aliases\u002FDateDuration",[22,31,32],{},"DateDuration"," | ",[22,35,36],{},"undefined",[15,38,39,40,43,44,46,47,50],{},"Parses an ISO 8601 duration restricted to date components (",[22,41,42],{},"PnYnMnWnD",").\nReturns ",[22,45,36],{}," for anything else, including time components (",[22,48,49],{},"PT…",").",[52,53,55],"h2",{"id":54},"parameters","Parameters",[57,58,24],"h3",{"id":24},[15,60,61],{},[22,62,63],{},"string",[52,65,67],{"id":66},"returns","Returns",[15,69,70,33,74],{},[27,71,72],{"href":29},[22,73,32],{},[22,75,36],{},{"title":77,"searchDepth":78,"depth":78,"links":79},"",2,[80,84],{"id":54,"depth":78,"text":55,"children":81},[82],{"id":24,"depth":83,"text":24},3,{"id":66,"depth":78,"text":67},"Parses an ISO 8601 duration restricted to date components (PnYnMnWnD). Returns undefined for anything else, including time components (PT…).","md",{"generated":88},true,false,"\u002Futils\u002Fapi\u002Ffunctions\u002FparseDateDuration","---\npath: \"\u002Futils\u002Fapi\u002Ffunctions\u002FparseDateDuration\"\ntitle: parseDateDuration\ndescription: \"Parses an ISO 8601 duration restricted to date components (PnYnMnWnD). Returns undefined for anything else, including time components (PT…).\"\ngenerated: true\nnavigation: false\n---\n\n> **parseDateDuration**(`value`): [`DateDuration`](\u002Futils\u002Fapi\u002Ftype-aliases\u002FDateDuration) \\| `undefined`\n\nParses an ISO 8601 duration restricted to date components (`PnYnMnWnD`).\nReturns `undefined` for anything else, including time components (`PT…`).\n\n## Parameters\n\n### value\n\n`string`\n\n## Returns\n\n[`DateDuration`](\u002Futils\u002Fapi\u002Ftype-aliases\u002FDateDuration) \\| `undefined`\n",{"title":7,"description":85},"utils\u002Fapi\u002Ffunctions\u002FparseDateDuration","k9Zbv5ByKblS9epoOc3yodwjGoA_QwKXHrZBYKv7NOU",{"docs_en":96,"spec":413,"changelogs":463},[97,117,136,191,301,355],{"title":98,"path":99,"stem":100,"children":101},"Ai","\u002Fai","ai",[102,105,109,113],{"title":103,"path":99,"stem":104},"Introduction","ai\u002Findex",{"title":106,"path":107,"stem":108},"Converting reports with an assistant","\u002Fai\u002Fconversion-skill","ai\u002Fconversion-skill",{"title":110,"path":111,"stem":112},"llms.txt and Markdown pages","\u002Fai\u002Fllms","ai\u002Fllms",{"title":114,"path":115,"stem":116},"MCP server","\u002Fai\u002Fmcp","ai\u002Fmcp",{"title":118,"path":119,"stem":120,"children":121},"Contributing","\u002Fcontributing","contributing",[122,124,128,132],{"title":103,"path":119,"stem":123},"contributing\u002Findex",{"title":125,"path":126,"stem":127},"Writing docs","\u002Fcontributing\u002Fwriting-docs","contributing\u002F1.writing-docs",{"title":129,"path":130,"stem":131},"Update rules","\u002Fcontributing\u002Fupdate-rules","contributing\u002F2.update-rules",{"title":133,"path":134,"stem":135},"Content components","\u002Fcontributing\u002Fcomponents","contributing\u002Fcomponents",{"title":137,"path":138,"stem":139,"children":140},"Core","\u002Fcore","core",[141,143,156,185],{"title":103,"path":138,"stem":142},"core\u002Findex",{"title":144,"path":145,"stem":146,"children":147,"page":89},"Getting Started","\u002Fcore\u002Fgetting-started","core\u002F1.getting-started",[148,152],{"title":149,"path":150,"stem":151},"Installation","\u002Fcore\u002Fgetting-started\u002Finstallation","core\u002F1.getting-started\u002F1.installation",{"title":153,"path":154,"stem":155},"First use","\u002Fcore\u002Fgetting-started\u002Ffirst-use","core\u002F1.getting-started\u002F2.first-use",{"title":157,"path":158,"stem":159,"children":160,"page":89},"Guides","\u002Fcore\u002Fguides","core\u002F2.guides",[161,165,169,173,177,181],{"title":162,"path":163,"stem":164},"Parsing and validating","\u002Fcore\u002Fguides\u002Fparsing-and-validating","core\u002F2.guides\u002F1.parsing-and-validating",{"title":166,"path":167,"stem":168},"Serializing and sharing","\u002Fcore\u002Fguides\u002Fserializing-and-sharing","core\u002F2.guides\u002F2.serializing-and-sharing",{"title":170,"path":171,"stem":172},"Unit conversion","\u002Fcore\u002Fguides\u002Funit-conversion","core\u002F2.guides\u002F3.unit-conversion",{"title":174,"path":175,"stem":176},"Vocabularies and textures","\u002Fcore\u002Fguides\u002Fvocabularies-and-textures","core\u002F2.guides\u002F4.vocabularies-and-textures",{"title":178,"path":179,"stem":180},"Water quality vocabulary","\u002Fcore\u002Fguides\u002Fwater-quality-vocabulary","core\u002F2.guides\u002F5.water-quality-vocabulary",{"title":182,"path":183,"stem":184},"Versions and time zones","\u002Fcore\u002Fguides\u002Fversions-and-time-zones","core\u002F2.guides\u002F6.versions-and-time-zones",{"title":186,"path":187,"stem":188,"children":189},"API reference","\u002Fcore\u002Fapi","core\u002Fapi\u002Findex",[190],{"title":186,"path":187,"stem":188},{"title":192,"path":193,"stem":194,"children":195},"Format","\u002Fformat","format",[196,198,218,247,271,291,297],{"title":103,"path":193,"stem":197},"format\u002Findex",{"title":144,"path":199,"stem":200,"children":201,"page":89},"\u002Fformat\u002Fgetting-started","format\u002F1.getting-started",[202,206,210,214],{"title":203,"path":204,"stem":205},"What is .well?","\u002Fformat\u002Fgetting-started\u002Fwhat-is-well","format\u002F1.getting-started\u002F1.what-is-well",{"title":207,"path":208,"stem":209},"For geologists","\u002Fformat\u002Fgetting-started\u002Ffor-geologists","format\u002F1.getting-started\u002F2.for-geologists",{"title":211,"path":212,"stem":213},"For developers","\u002Fformat\u002Fgetting-started\u002Ffor-developers","format\u002F1.getting-started\u002F3.for-developers",{"title":215,"path":216,"stem":217},"Your first .well file","\u002Fformat\u002Fgetting-started\u002Ffirst-well-file","format\u002F1.getting-started\u002F4.first-well-file",{"title":219,"path":220,"stem":221,"children":222,"page":89},"Concepts","\u002Fformat\u002Fconcepts","format\u002F2.concepts",[223,227,231,235,239,243],{"title":224,"path":225,"stem":226},"Depths and intervals","\u002Fformat\u002Fconcepts\u002Fdepths-and-intervals","format\u002F2.concepts\u002F1.depths-and-intervals",{"title":228,"path":229,"stem":230},"Units and precision","\u002Fformat\u002Fconcepts\u002Funits-and-precision","format\u002F2.concepts\u002F2.units-and-precision",{"title":232,"path":233,"stem":234},"Vocabularies","\u002Fformat\u002Fconcepts\u002Fvocabularies","format\u002F2.concepts\u002F3.vocabularies",{"title":236,"path":237,"stem":238},"Profiles","\u002Fformat\u002Fconcepts\u002Fprofiles","format\u002F2.concepts\u002F4.profiles",{"title":240,"path":241,"stem":242},"Versions and deprecation","\u002Fformat\u002Fconcepts\u002Fversions-and-deprecation","format\u002F2.concepts\u002F5.versions-and-deprecation",{"title":244,"path":245,"stem":246},"Extensibility","\u002Fformat\u002Fconcepts\u002Fextensibility","format\u002F2.concepts\u002F6.extensibility",{"title":157,"path":248,"stem":249,"children":250,"page":89},"\u002Fformat\u002Fguides","format\u002F3.guides",[251,255,259,263,267],{"title":252,"path":253,"stem":254},"Writing a .well by hand","\u002Fformat\u002Fguides\u002Fwriting-by-hand","format\u002F3.guides\u002F1.writing-by-hand",{"title":256,"path":257,"stem":258},"Converting a report","\u002Fformat\u002Fguides\u002Fconverting-a-report","format\u002F3.guides\u002F2.converting-a-report",{"title":260,"path":261,"stem":262},"Validating","\u002Fformat\u002Fguides\u002Fvalidating","format\u002F3.guides\u002F3.validating",{"title":264,"path":265,"stem":266},"Extending for your own needs","\u002Fformat\u002Fguides\u002Fextending","format\u002F3.guides\u002F4.extending",{"title":268,"path":269,"stem":270},"Building an editor or database on .well","\u002Fformat\u002Fguides\u002Fbuilding-on-well","format\u002F3.guides\u002F5.building-on-well",{"title":272,"path":273,"stem":274,"children":275},"Overview","\u002Fformat\u002Freference","format\u002F4.reference\u002Findex",[276,277,281,285],{"title":272,"path":273,"stem":274},{"title":278,"path":279,"stem":280},"JSON Schema","\u002Fformat\u002Freference\u002Fjson-schema","format\u002F4.reference\u002F1.json-schema",{"title":282,"path":283,"stem":284},"Example wells","\u002Fformat\u002Freference\u002Fexamples","format\u002F4.reference\u002F2.examples",{"title":286,"path":287,"stem":288,"children":289},"Object reference","\u002Fformat\u002Freference\u002Fobjects","format\u002Freference\u002Fobjects\u002Findex",[290],{"title":286,"path":287,"stem":288},{"title":292,"path":293,"stem":294,"children":295},"About the spec","\u002Fformat\u002Fspec","format\u002F5.spec\u002Findex",[296],{"title":292,"path":293,"stem":294},{"title":298,"path":299,"stem":300},"Changelog","\u002Fformat\u002Fchangelog","format\u002F6.changelog",{"title":302,"path":303,"stem":304,"children":305},"Render","\u002Frender","render",[306,308,318,350],{"title":103,"path":303,"stem":307},"render\u002Findex",{"title":144,"path":309,"stem":310,"children":311,"page":89},"\u002Frender\u002Fgetting-started","render\u002F1.getting-started",[312,315],{"title":149,"path":313,"stem":314},"\u002Frender\u002Fgetting-started\u002Finstallation","render\u002F1.getting-started\u002F1.installation",{"title":153,"path":316,"stem":317},"\u002Frender\u002Fgetting-started\u002Ffirst-use","render\u002F1.getting-started\u002F2.first-use",{"title":157,"path":319,"stem":320,"children":321,"page":89},"\u002Frender\u002Fguides","render\u002F2.guides",[322,326,330,334,338,342,346],{"title":323,"path":324,"stem":325},"Panels and layout","\u002Frender\u002Fguides\u002Fpanels-and-layout","render\u002F2.guides\u002F1.panels-and-layout",{"title":327,"path":328,"stem":329},"Layers and labels","\u002Frender\u002Fguides\u002Flayers-and-labels","render\u002F2.guides\u002F2.layers-and-labels",{"title":331,"path":332,"stem":333},"Theming","\u002Frender\u002Fguides\u002Ftheming","render\u002F2.guides\u002F3.theming",{"title":335,"path":336,"stem":337},"Locale and units","\u002Frender\u002Fguides\u002Flocale-and-units","render\u002F2.guides\u002F4.locale-and-units",{"title":339,"path":340,"stem":341},"Legends","\u002Frender\u002Fguides\u002Flegends","render\u002F2.guides\u002F5.legends",{"title":343,"path":344,"stem":345},"Zoom, pan and highlights","\u002Frender\u002Fguides\u002Finteraction","render\u002F2.guides\u002F6.interaction",{"title":347,"path":348,"stem":349},"Using it in a framework","\u002Frender\u002Fguides\u002Fframeworks","render\u002F2.guides\u002F7.frameworks",{"title":186,"path":351,"stem":352,"children":353},"\u002Frender\u002Fapi","render\u002Fapi\u002Findex",[354],{"title":186,"path":351,"stem":352},{"title":356,"path":357,"stem":358,"children":359},"Utils","\u002Futils","utils",[360,362,372,408],{"title":103,"path":357,"stem":361},"utils\u002Findex",{"title":144,"path":363,"stem":364,"children":365,"page":89},"\u002Futils\u002Fgetting-started","utils\u002F1.getting-started",[366,369],{"title":149,"path":367,"stem":368},"\u002Futils\u002Fgetting-started\u002Finstallation","utils\u002F1.getting-started\u002F1.installation",{"title":153,"path":370,"stem":371},"\u002Futils\u002Fgetting-started\u002Ffirst-use","utils\u002F1.getting-started\u002F2.first-use",{"title":157,"path":373,"stem":374,"children":375,"page":89},"\u002Futils\u002Fguides","utils\u002F2.guides",[376,380,384,388,392,396,400,404],{"title":377,"path":378,"stem":379},"Geometry and volumes","\u002Futils\u002Fguides\u002Fgeometry-and-volumes","utils\u002F2.guides\u002F1.geometry-and-volumes",{"title":381,"path":382,"stem":383},"Water levels and pumping tests","\u002Futils\u002Fguides\u002Fpumping-tests","utils\u002F2.guides\u002F2.pumping-tests",{"title":385,"path":386,"stem":387},"Permits","\u002Futils\u002Fguides\u002Fpermits","utils\u002F2.guides\u002F3.permits",{"title":389,"path":390,"stem":391},"Operation and production","\u002Futils\u002Fguides\u002Foperation","utils\u002F2.guides\u002F4.operation",{"title":393,"path":394,"stem":395},"Water quality","\u002Futils\u002Fguides\u002Fwater-quality","utils\u002F2.guides\u002F5.water-quality",{"title":397,"path":398,"stem":399},"Logger import","\u002Futils\u002Fguides\u002Flogger-import","utils\u002F2.guides\u002F6.logger-import",{"title":401,"path":402,"stem":403},"SIAGAS import","\u002Futils\u002Fguides\u002Fsiagas-import","utils\u002F2.guides\u002F7.siagas-import",{"title":405,"path":406,"stem":407},"Formatting","\u002Futils\u002Fguides\u002Fformatting","utils\u002F2.guides\u002F8.formatting",{"title":186,"path":409,"stem":410,"children":411},"\u002Futils\u002Fapi","utils\u002Fapi\u002Findex",[412],{"title":186,"path":409,"stem":410},[414],{"title":192,"path":193,"stem":194,"children":415,"page":89},[416],{"title":417,"path":293,"stem":418,"children":419,"page":89},"Spec","format\u002Fspec",[420,429,438],{"title":421,"path":422,"stem":423,"children":424,"page":89},"Reference","\u002Fformat\u002Fspec\u002Freference","format\u002Fspec\u002Freference",[425],{"title":426,"path":427,"stem":428},"FGDC Texture Patterns Reference","\u002Fformat\u002Fspec\u002Freference\u002Ffgdc-textures","format\u002Fspec\u002Freference\u002Ffgdc-textures",{"title":430,"path":431,"stem":432,"children":433,"page":89},"V1","\u002Fformat\u002Fspec\u002Fv1","format\u002Fspec\u002Fv1",[434],{"title":435,"path":436,"stem":437},".well File Format Specification","\u002Fformat\u002Fspec\u002Fv1\u002Fwell-format","format\u002Fspec\u002Fv1\u002Fwell-format",{"title":439,"path":440,"stem":441,"children":442,"page":89},"V2","\u002Fformat\u002Fspec\u002Fv2","format\u002Fspec\u002Fv2",[443,447,451,455,459],{"title":444,"path":445,"stem":446},".well File Format Specification — Version 2.4: Format Reference","\u002Fformat\u002Fspec\u002Fv2\u002Fformat-reference","format\u002Fspec\u002Fv2\u002Fformat-reference",{"title":448,"path":449,"stem":450},".well File Format Specification — Version 2.4: Interoperability","\u002Fformat\u002Fspec\u002Fv2\u002Finteroperability","format\u002Fspec\u002Fv2\u002Finteroperability",{"title":452,"path":453,"stem":454},".well File Format Specification — Version 2.4: Object Schemas","\u002Fformat\u002Fspec\u002Fv2\u002Fobject-schemas","format\u002Fspec\u002Fv2\u002Fobject-schemas",{"title":456,"path":457,"stem":458},".well File Format Specification — Version 2.4: Overview","\u002Fformat\u002Fspec\u002Fv2\u002Foverview","format\u002Fspec\u002Fv2\u002Foverview",{"title":460,"path":461,"stem":462},".well File Format Specification — Version 2.4: Water Quality","\u002Fformat\u002Fspec\u002Fv2\u002Fwater-quality","format\u002Fspec\u002Fv2\u002Fwater-quality",[464,470,476],{"title":137,"path":138,"stem":139,"children":465,"page":89},[466],{"title":467,"path":468,"stem":469},"@welldot\u002Fcore","\u002Fcore\u002Fchangelog","core\u002FCHANGELOG",{"title":302,"path":303,"stem":304,"children":471,"page":89},[472],{"title":473,"path":474,"stem":475},"@welldot\u002Frender","\u002Frender\u002Fchangelog","render\u002FCHANGELOG",{"title":356,"path":357,"stem":358,"children":477,"page":89},[478],{"title":479,"path":480,"stem":481},"@welldot\u002Futils","\u002Futils\u002Fchangelog","utils\u002FCHANGELOG",1793050502636]