MomentPlatform

works.iterative.core.MomentPlatform

JS side of the Moment companion: the Date built-ins as the engine behind parse/format. Input reaching parseCanonicalIso has already passed the shared syntactic guard, so Date.parse only ever sees a spec-defined ISO string and its implementation-defined leniency never applies.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Moment

Members list

Value members

Concrete methods

protected def formatIso(epochMilli: Long): String
protected def parseCanonicalIso(value: String): Option[Long]

Calendar arithmetic for the shared parseIso; input has already passed the syntactic guard.

Calendar arithmetic for the shared parseIso; input has already passed the syntactic guard.

Attributes