class Faker::Time
def forward(days: 365, period: :all, format: nil)
-
(Time)
-
Parameters:
-
format
(Symbol
) -- The name of a DateTime format to use. -
period
(Symbol
) -- The time of day, if any. See {TIME_RANGES}. -
days
(Integer
) -- The maximum number of days to go into the future.
def forward(days: 365, period: :all, format: nil) time_with_format(date_with_random_time(Faker::Date.forward(days: days), period), format) end