Summary
A collection of Date related resources.
- Namespace
- Faker
- Base Types
-
- object
graph TD
Base0["object"]-->Type
Type["Date"]
class Type type-node
Syntax
public static class Date
Methods
Name | Value | Summary |
---|---|---|
Backwards |
DateTime |
Generates a random
DateTime between number of days
in the past and System.DateTime.Today
static
|
Between |
DateTime |
Generates a random
DateTime between the specified
from and to.
static
|
Birthday |
DateTime |
Generates a random
DateTime between the specified
maxAge and minAge.
static
|
Forward |
DateTime |
Generates a random
DateTime between
System.DateTime.Today and number of days into the future.
static
|