Calendar.toTime

When overridden, returns a Time value set to the specified date and time in the specified _era.

  1. Time toTime(uint year, uint month, uint day, uint hour, uint minute, uint second, uint millisecond)
  2. Time toTime(Date d)
  3. Time toTime(DateTime dt)
  4. Time toTime(Date d, TimeOfDay t)
  5. Time toTime(uint year, uint month, uint day, uint hour, uint minute, uint second, uint millisecond, uint era)
    class Calendar
    abstract
    Time
    toTime
    (
    uint year
    ,
    uint month
    ,
    uint day
    ,
    uint hour
    ,
    uint minute
    ,
    uint second
    ,,
    uint era
    )

Parameters

year uint

An integer representing the _year.

month uint

An integer representing the _month.

day uint

An integer representing the _day.

hour uint

An integer representing the _hour.

minute uint

An integer representing the _minute.

second uint

An integer representing the _second.

millisecond uint

An integer representing the _millisecond.

era uint

An integer representing the _era.

Return Value

Type: Time

A Time set to the specified date and time.

Meta