Gregorian.toTime

Overridden. Returns a Time value set to the specified date and time in the specified era.

  1. alias toTime = Calendar.toTime
  2. Time toTime(uint year, uint month, uint day, uint hour, uint minute, uint second, uint millisecond, uint era)
    class Gregorian
    override const
    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