text: (window.webpackJsonp=window.webpackJsonp||[]).push([[7],{358:function(t,e,v){"use strict";v.r(e);var _=v(43),r=Object(_.a)({},(function(){var t=this,e=t.$createElement,v=t._self._c||e;return v("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[v("h1",{attrs:{id:"class-datetime"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#class-datetime"}},[t._v("#")]),t._v(" Class: DateTime")]),t._v(" "),v("p",[t._v("Adds the ability to convert dates and times using config options.")]),t._v(" "),v("h2",{attrs:{id:"hierarchy"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#hierarchy"}},[t._v("#")]),t._v(" Hierarchy")]),t._v(" "),v("ul",[v("li",[v("strong",[t._v("DateTime")])])]),t._v(" "),v("h2",{attrs:{id:"methods"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#methods"}},[t._v("#")]),t._v(" Methods")]),t._v(" "),v("h3",{attrs:{id:"static-date"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#static-date"}},[t._v("#")]),t._v(" "),v("code",[t._v("Static")]),t._v(" date")]),t._v(" "),v("p",[t._v("▸ "),v("strong",[t._v("date")]),t._v("("),v("code",[t._v("dateTime")]),t._v(": moment.MomentInput): "),v("em",[t._v("string")])]),t._v(" "),v("p",[v("em",[t._v("Defined in "),v("a",{attrs:{href:"https://github.com/AtomHash/everflow/blob/effb001/everflow/utils/date-time.ts#L76",target:"_blank",rel:"noopener noreferrer"}},[t._v("everflow/utils/date-time.ts:76"),v("OutboundLink")],1)])]),t._v(" "),v("p",[t._v("Return only date of date and time value")]),t._v(" "),v("p",[v("strong",[v("code",[t._v("function")])]),t._v(" date")]),t._v(" "),v("p",[v("strong",[v("code",[t._v("static")])])]),t._v(" "),v("p",[v("strong",[t._v("Parameters:")])]),t._v(" "),v("table",[v("thead",[v("tr",[v("th",[t._v("Name")]),t._v(" "),v("th",[t._v("Type")]),t._v(" "),v("th",[t._v("Default")]),t._v(" "),v("th",[t._v("Description")])])]),t._v(" "),v("tbody",[v("tr",[v("td",[v("code",[t._v("dateTime")])]),t._v(" "),v("td",[t._v("moment.MomentInput")]),t._v(" "),v("td",[t._v("null")]),t._v(" "),v("td",[t._v("date and time value")])])])]),t._v(" "),v("p",[v("strong",[t._v("Returns:")]),t._v(" "),v("em",[t._v("string")])]),t._v(" "),v("hr"),t._v(" "),v("h3",{attrs:{id:"static-private-getdateformat"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#static-private-getdateformat"}},[t._v("#")]),t._v(" "),v("code",[t._v("Static")]),t._v(" "),v("code",[t._v("Private")]),t._v(" getDateFormat")]),t._v(" "),v("p",[t._v("▸ "),v("strong",[t._v("getDateFormat")]),t._v("("),v("code",[t._v("everflowApp")]),t._v(": "),v("RouterLink",{attrs:{to:"/classes/app.html"}},[t._v("App")]),t._v("): "),v("em",[t._v("string")])],1),t._v(" "),v("p",[v("em",[t._v("Defined in "),v("a",{attrs:{href:"https://github.com/AtomHash/everflow/blob/effb001/everflow/utils/date-time.ts#L16",target:"_blank",rel:"noopener noreferrer"}},[t._v("everflow/utils/date-time.ts:16"),v("OutboundLink")],1)])]),t._v(" "),v("p",[t._v("Returns the format string for date from app.config or defaults to YYYY-MM-DD")]),t._v(" "),v("p",[v("strong",[v("code",[t._v("function")])]),t._v(" getDateFormat")]),t._v(" "),v("p",[v("strong",[v("code",[t._v("static")])])]),t._v(" "),v("p",[v("strong",[t._v("Parameters:")])]),t._v(" "),v("table",[v("thead",[v("tr",[v("th",[t._v("Name")]),t._v(" "),v("th",[t._v("Type")]),t._v(" "),v("th",[t._v("Default")])])]),t._v(" "),v("tbody",[v("tr",[v("td",[v("code",[t._v("everflowApp")])]),t._v(" "),v("td",[v("RouterLink",{attrs:{to:"/classes/app.html"}},[t._v("App")])],1),t._v(" "),v("td",[t._v("null")])])])]),t._v(" "),v("p",[v("strong",[t._v("Returns:")]),t._v(" "),v("em",[t._v("string")])]),t._v(" "),v("hr"),t._v(" "),v("h3",{attrs:{id:"static-private-gettimeformat"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#static-private-gettimeformat"}},[t._v("#")]),t._v(" "),v("code",[t._v("Static")]),t._v(" "),v("code",[t._v("Private")]),t._v(" getTimeFormat")]),t._v(" "),v("p",[t._v("▸ "),v("strong",[t._v("getTimeFormat")]),t._v("("),v("code",[t._v("everflowApp")]),t._v(": "),v("RouterLink",{attrs:{to:"/classes/app.html"}},[t._v("App")]),t._v("): "),v("em",[t._v("string")])],1),t._v(" "),v("p",[v("em",[t._v("Defined in "),v("a",{attrs:{href:"https://github.com/AtomHash/everflow/blob/effb001/everflow/utils/date-time.ts#L34",target:"_blank",rel:"noopener noreferrer"}},[t._v("everflow/utils/date-time.ts:34"),v("OutboundLink")],1)])]),t._v(" "),v("p",[t._v("Returns the format string for time from app.config or defaults to LTS")]),t._v(" "),v("p",[v("strong",[v("code",[t._v("function")])]),t._v(" getTimeFormat")]),t._v(" "),v("p",[v("strong",[v("code",[t._v("static")])])]),t._v(" "),v("p",[v("strong",[t._v("Parameters:")])]),t._v(" "),v("table",[v("thead",[v("tr",[v("th",[t._v("Name")]),t._v(" "),v("th",[t._v("Type")]),t._v(" "),v("th",[t._v("Default")])])]),t._v(" "),v("tbody",[v("tr",[v("td",[v("code",[t._v("everflowApp")])]),t._v(" "),v("td",[v("RouterLink",{attrs:{to:"/classes/app.html"}},[t._v("App")])],1),t._v(" "),v("td",[t._v("null")])])])]),t._v(" "),v("p",[v("strong",[t._v("Returns:")]),t._v(" "),v("em",[t._v("string")])]),t._v(" "),v("hr"),t._v(" "),v("h3",{attrs:{id:"static-moment"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#static-moment"}},[t._v("#")]),t._v(" "),v("code",[t._v("Static")]),t._v(" moment")]),t._v(" "),v("p",[t._v("▸ "),v("strong",[t._v("moment")]),t._v("("),v("code",[t._v("dateTime")]),t._v(": moment.MomentInput, "),v("code",[t._v("format")]),t._v(": string): "),v("em",[t._v("Moment")])]),t._v(" "),v("p",[v("em",[t._v("Defined in "),v("a",{attrs:{href:"https://github.com/AtomHash/everflow/blob/effb001/everflow/utils/date-time.ts#L53",target:"_blank",rel:"noopener noreferrer"}},[t._v("everflow/utils/date-time.ts:53"),v("OutboundLink")],1)])]),t._v(" "),v("p",[t._v("Returns the format string for time from app.config or defaults to LTS")]),t._v(" "),v("p",[v("strong",[v("code",[t._v("function")])]),t._v(" moment")]),t._v(" "),v("p",[v("strong",[v("code",[t._v("static")])])]),t._v(" "),v("p",[v("strong",[t._v("Parameters:")])]),t._v(" "),v("table",[v("thead",[v("tr",[v("th",[t._v("Name")]),t._v(" "),v("th",[t._v("Type")]),t._v(" "),v("th",[t._v("Default")]),t._v(" "),v("th",[t._v("Description")])])]),t._v(" "),v("tbody",[v("tr",[v("td",[v("code",[t._v("dateTime")])]),t._v(" "),v("td",[t._v("moment.MomentInput")]),t._v(" "),v("td",[t._v("null")]),t._v(" "),v("td",[t._v("date and time value")])]),t._v(" "),v("tr",[v("td",[v("code",[t._v("format")])]),t._v(" "),v("td",[t._v("string")]),t._v(" "),v("td",[t._v("null")]),t._v(" "),v("td",[t._v("date and time format string, if empty values are generated using default or config options")])])])]),t._v(" "),v("p",[v("strong",[t._v("Returns:")]),t._v(" "),v("em",[t._v("Moment")])]),t._v(" "),v("hr"),t._v(" "),v("h3",{attrs:{id:"static-time"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#static-time"}},[t._v("#")]),t._v(" "),v("code",[t._v("Static")]),t._v(" time")]),t._v(" "),v("p",[t._v("▸ "),v("strong",[t._v("time")]),t._v("("),v("code",[t._v("dateTime")]),t._v(": moment.MomentInput): "),v("em",[t._v("string")])]),t._v(" "),v("p",[v("em",[t._v("Defined in "),v("a",{attrs:{href:"https://github.com/AtomHash/everflow/blob/effb001/everflow/utils/date-time.ts#L87",target:"_blank",rel:"noopener noreferrer"}},[t._v("everflow/utils/date-time.ts:87"),v("OutboundLink")],1)])]),t._v(" "),v("p",[t._v("Return only time of date and time value")]),t._v(" "),v("p",[v("strong",[v("code",[t._v("function")])]),t._v(" time")]),t._v(" "),v("p",[v("strong",[v("code",[t._v("static")])])]),t._v(" "),v("p",[v("strong",[t._v("Parameters:")])]),t._v(" "),v("table",[v("thead",[v("tr",[v("th",[t._v("Name")]),t._v(" "),v("th",[t._v("Type")]),t._v(" "),v("th",[t._v("Default")]),t._v(" "),v("th",[t._v("Description")])])]),t._v(" "),v("tbody",[v("tr",[v("td",[v("code",[t._v("dateTime")])]),t._v(" "),v("td",[t._v("moment.MomentInput")]),t._v(" "),v("td",[t._v("null")]),t._v(" "),v("td",[t._v("date and time value")])])])]),t._v(" "),v("p",[v("strong",[t._v("Returns:")]),t._v(" "),v("em",[t._v("string")])])])}),[],!1,null,null,null);e.default=r.exports}}]);