Module
Faker.Date
- Package
- purescript-faker-ffi
- Repository
- philippedev101/purescript-faker-ffi
#futureOpts Source
futureOpts :: FutureOpts -> Gen StringGenerate a random date in the future within specified years.
#FutureOpts Source
type FutureOpts = { years :: Int }#between Source
between :: BetweenOpts -> Gen StringGenerate a random date between two dates (ISO string format).
#BetweenOpts Source
type BetweenOpts = { from :: String, to :: String }#betweens Source
betweens :: BetweensOpts -> Gen (Array String)Generate multiple random dates between two dates (ISO string format).
#recentOpts Source
recentOpts :: RecentOpts -> Gen StringGenerate a random recent date within specified days.
#RecentOpts Source
type RecentOpts = { days :: Int }#birthdateByAge Source
birthdateByAge :: AgeRangeOpts -> Gen StringGenerate a random birthdate within an age range.
#AgeRangeOpts Source
type AgeRangeOpts = { max :: Int, min :: Int }#birthdateByYear Source
birthdateByYear :: YearRangeOpts -> Gen StringGenerate a random birthdate within a year range.
#YearRangeOpts Source
type YearRangeOpts = { max :: Int, min :: Int }#monthAbbreviated Source
monthAbbreviated :: Gen StringGenerate an abbreviated month name (e.g. "Jan").
#weekdayAbbreviated Source
weekdayAbbreviated :: Gen StringGenerate an abbreviated weekday name (e.g. "Mon").
- Modules
- Faker.
Airline - Faker.
Animal - Faker.
Book - Faker.
Color - Faker.
Commerce - Faker.
Company - Faker.
Database - Faker.
Datatype - Faker.
Date - Faker.
Finance - Faker.
Food - Faker.
Gen - Faker.
Git - Faker.
Hacker - Faker.
Helpers - Faker.
Image - Faker.
Internet - Faker.
Location - Faker.
Lorem - Faker.
Music - Faker.
Number - Faker.
Person - Faker.
Phone - Faker.
Science - Faker.
Seed - Faker.
String - Faker.
System - Faker.
Vehicle - Faker.
Word