Skip to content
This repository was archived by the owner on Sep 8, 2018. It is now read-only.
This repository was archived by the owner on Sep 8, 2018. It is now read-only.

WallTimeDate Helper #31

@mattjohnsonpint

Description

@mattjohnsonpint

I can convert a Date to a WallTime:

var wt = WallTime.UTCToWallTime(dt, "America/New_York")

I can convert a WallTime to a Date:

var dt = WallTime.WallTimeToUTC('America/New_York', 2013, 10, 7, 0, 0, 0, 0)

But how can I just represent a simple wall time? I would expect something like:

var wt = new WallTime('America/New_York', 2013, 10, 7, 0, 0, 0, 0);

(perhaps with an optional offset for resolving ambiguous wall times)

I want to be able to then take that wall time, get the offset in effect, display it with the correct name or abbreviation, etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions