-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdateWrapper.drawio
More file actions
1 lines (1 loc) · 15.7 KB
/
Copy pathdateWrapper.drawio
File metadata and controls
1 lines (1 loc) · 15.7 KB
1
<mxfile host="drawio-plugin" modified="2021-06-02T12:30:13.152Z" agent="5.0 (Macintosh; Intel Mac OS X 11_4_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36" etag="pk-IHOTsekS7CXn749cI" version="14.6.6" type="embed"><diagram id="yiy_jHY4rJdKgbr1IenK" name="Page-1"><mxGraphModel dx="1022" dy="1710" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="4zX-s08cUAT6wJgm52rp-1" value="interface" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1"><mxGeometry x="320" y="-430" width="140" height="104" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-2" value="function 1" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-1" vertex="1"><mxGeometry y="26" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-3" value="function 2" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-1" vertex="1"><mxGeometry y="52" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-4" value="function 3" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-1" vertex="1"><mxGeometry y="78" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-5" value="moment" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1"><mxGeometry x="100" y="-280" width="140" height="104" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-6" value="function 1 moment" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-5" vertex="1"><mxGeometry y="26" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-7" value="function 2 moment" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-5" vertex="1"><mxGeometry y="52" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-8" value="function 3 moment" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-5" vertex="1"><mxGeometry y="78" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-10" value="native" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1"><mxGeometry x="570" y="-280" width="140" height="104" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-11" value="function 1 native" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-10" vertex="1"><mxGeometry y="26" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-12" value="function 2 native" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-10" vertex="1"><mxGeometry y="52" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-13" value="function 3 native" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-10" vertex="1"><mxGeometry y="78" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-14" value="data fns" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1"><mxGeometry x="330" y="-280" width="140" height="104" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-15" value="function 1 fns" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-14" vertex="1"><mxGeometry y="26" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-16" value="function 2 fns" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-14" vertex="1"><mxGeometry y="52" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-17" value="function 3 fns" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-14" vertex="1"><mxGeometry y="78" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-18" value="Day.js" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1"><mxGeometry x="100" y="-130" width="140" height="104" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-19" value="function 1 day.js" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-18" vertex="1"><mxGeometry y="26" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-20" value="function 2 day.js" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-18" vertex="1"><mxGeometry y="52" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-21" value="function 3 day.js" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-18" vertex="1"><mxGeometry y="78" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-23" value="Luxon" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1"><mxGeometry x="330" y="-130" width="140" height="104" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-24" value="function 1 Luxon" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-23" vertex="1"><mxGeometry y="26" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-25" value="function 2 Luxon" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-23" vertex="1"><mxGeometry y="52" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-26" value="function 3 Luxon" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-23" vertex="1"><mxGeometry y="78" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-27" value="js-Joda" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" parent="1" vertex="1"><mxGeometry x="570" y="-130" width="140" height="104" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-28" value="function 1 js-Joda" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-27" vertex="1"><mxGeometry y="26" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-29" value="function 2 js-Joda" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-27" vertex="1"><mxGeometry y="52" width="140" height="26" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-30" value="function 3 js-Joda" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="4zX-s08cUAT6wJgm52rp-27" vertex="1"><mxGeometry y="78" width="140" height="26" as="geometry"/></mxCell><mxCell id="13" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="4zX-s08cUAT6wJgm52rp-49" target="2"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="14" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="4zX-s08cUAT6wJgm52rp-49" target="6"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1" source="4zX-s08cUAT6wJgm52rp-49" target="10"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-49" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center"><i>&lt;&lt;WrapperInterface&gt;&gt;</i><br><b>Interface</b></p><hr size="1"><p style="margin: 0px ; margin-left: 4px">- date: &lt;Type&gt;<br>+ stringDate: String</p><hr size="1"><p style="margin: 0px ; margin-left: 4px">+ ToString(): StringDate</p><p style="margin: 0px ; margin-left: 4px">+ ToDate(): Date<br>+ StartOfWeek(): StringDate<br>+ EndOfWeek(<span>): StringDate</span></p><p style="margin: 0px ; margin-left: 4px">+ Add(Int, String): StringDate<br>+ Subtract(int, String): StringDate<br>+ IsSameOrBefore(StringDate): Boolean</p><p style="margin: 0px ; margin-left: 4px">+ IsSameOrAfter(StringDate): Boolean</p><p style="margin: 0px ; margin-left: 4px">+ IsBefore(StringDate): Boolean</p><p style="margin: 0px ; margin-left: 4px">+ IsAfter(StringDate): Boolean</p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="1" vertex="1"><mxGeometry x="299" y="450" width="230" height="240" as="geometry"/></mxCell><mxCell id="4zX-s08cUAT6wJgm52rp-51" value="<p style="margin: 0px ; margin-top: 4px ; text-align: center ; text-decoration: underline"><b>StringDate</b></p><hr><p style="margin: 0px ; margin-left: 8px">String in isoString format<br>9999-99-99T99:99:99.999Z</p>" style="verticalAlign=top;align=left;overflow=fill;fontSize=12;fontFamily=Helvetica;html=1;" parent="1" vertex="1"><mxGeometry x="335" y="310" width="160" height="70" as="geometry"/></mxCell><mxCell id="2" value="MomentWrapper" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1"><mxGeometry x="10" y="790" width="250" height="86" as="geometry"/></mxCell><mxCell id="3" value="- date: <moment.Moment>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="2"><mxGeometry y="26" width="250" height="26" as="geometry"/></mxCell><mxCell id="4" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="2"><mxGeometry y="52" width="250" height="8" as="geometry"/></mxCell><mxCell id="5" value="+ ToMoment(StringDate): moment.Moment" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="2"><mxGeometry y="60" width="250" height="26" as="geometry"/></mxCell><mxCell id="6" value="NativeWrapper" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1"><mxGeometry x="299" y="790" width="230" height="60" as="geometry"/></mxCell><mxCell id="7" value="- date: <Date>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="6"><mxGeometry y="26" width="230" height="26" as="geometry"/></mxCell><mxCell id="8" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="6"><mxGeometry y="52" width="230" height="8" as="geometry"/></mxCell><mxCell id="10" value="Date-fns" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;" vertex="1" parent="1"><mxGeometry x="570" y="790" width="250" height="60" as="geometry"/></mxCell><mxCell id="11" value="- date: <Date>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="10"><mxGeometry y="26" width="250" height="26" as="geometry"/></mxCell><mxCell id="12" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" vertex="1" parent="10"><mxGeometry y="52" width="250" height="8" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>