diff options
| author | ST-DDT <[email protected]> | 2023-11-21 00:23:16 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-20 23:23:16 +0000 |
| commit | 808aa82f3f86a0b25f272c0c1760115a0920b614 (patch) | |
| tree | 94a4485ebd3933b710b9280fe8f68c2d041d4adb /src/modules/date | |
| parent | 96195673448e9b56ea330a1d02ff63374a11ca8b (diff) | |
| download | faker-808aa82f3f86a0b25f272c0c1760115a0920b614.tar.xz faker-808aa82f3f86a0b25f272c0c1760115a0920b614.zip | |
docs: consistent @see jsdoc tags (#2473)
Diffstat (limited to 'src/modules/date')
| -rw-r--r-- | src/modules/date/index.ts | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/modules/date/index.ts b/src/modules/date/index.ts index 39c85735..9b96e704 100644 --- a/src/modules/date/index.ts +++ b/src/modules/date/index.ts @@ -38,9 +38,9 @@ export class SimpleDateModule extends SimpleModuleBase { * @param options The optional options object. * @param options.refDate The date to use as reference point for the newly generated date. Defaults to `faker.defaultRefDate()`. * - * @see faker.date.between() For dates in a specific range. - * @see faker.date.past() For dates explicitly in the past. - * @see faker.date.future() For dates explicitly in the future. + * @see faker.date.between(): For generating dates in a specific range. + * @see faker.date.past(): For generating dates explicitly in the past. + * @see faker.date.future(): For generating dates explicitly in the future. * * @example * faker.date.anytime() // '2022-07-31T01:33:29.567Z' @@ -74,7 +74,7 @@ export class SimpleDateModule extends SimpleModuleBase { * @param options.years The range of years the date may be in the past. Defaults to `1`. * @param options.refDate The date to use as reference point for the newly generated date. Defaults to `faker.defaultRefDate()`. * - * @see faker.date.recent() + * @see faker.date.recent(): For generating dates in the recent past (days instead of years). * * @example * faker.date.past() // '2021-12-03T05:40:44.408Z' @@ -103,7 +103,7 @@ export class SimpleDateModule extends SimpleModuleBase { * @param years The range of years the date may be in the past. Defaults to `1`. * @param refDate The date to use as reference point for the newly generated date. Defaults to `faker.defaultRefDate()`. * - * @see faker.date.recent() + * @see faker.date.recent(): For generating dates in the recent past (days instead of years). * * @example * faker.date.past() // '2021-12-03T05:40:44.408Z' @@ -123,7 +123,7 @@ export class SimpleDateModule extends SimpleModuleBase { * @param options.refDate The date to use as reference point for the newly generated date. Defaults to `faker.defaultRefDate()`. * @param legacyRefDate Deprecated, use `options.refDate` instead. * - * @see faker.date.recent() + * @see faker.date.recent(): For generating dates in the recent past (days instead of years). * * @example * faker.date.past() // '2021-12-03T05:40:44.408Z' @@ -196,7 +196,7 @@ export class SimpleDateModule extends SimpleModuleBase { * @param options.years The range of years the date may be in the future. Defaults to `1`. * @param options.refDate The date to use as reference point for the newly generated date. Defaults to `faker.defaultRefDate()`. * - * @see faker.date.soon() + * @see faker.date.soon(): For generating dates in the near future (days instead of years). * * @example * faker.date.future() // '2022-11-19T05:52:49.100Z' @@ -225,7 +225,7 @@ export class SimpleDateModule extends SimpleModuleBase { * @param years The range of years the date may be in the future. Defaults to `1`. * @param refDate The date to use as reference point for the newly generated date. Defaults to `faker.defaultRefDate()`. * - * @see faker.date.soon() + * @see faker.date.soon(): For generating dates in the near future (days instead of years). * * @example * faker.date.future() // '2022-11-19T05:52:49.100Z' @@ -245,7 +245,7 @@ export class SimpleDateModule extends SimpleModuleBase { * @param options.refDate The date to use as reference point for the newly generated date. Defaults to `faker.defaultRefDate()`. * @param legacyRefDate Deprecated, use `options.refDate` instead. * - * @see faker.date.soon() + * @see faker.date.soon(): For generating dates in the near future (days instead of years). * * @example * faker.date.future() // '2022-11-19T05:52:49.100Z' @@ -590,7 +590,7 @@ export class SimpleDateModule extends SimpleModuleBase { * @param options.days The range of days the date may be in the past. Defaults to `1`. * @param options.refDate The date to use as reference point for the newly generated date. Defaults to `faker.defaultRefDate()`. * - * @see faker.date.past() + * @see faker.date.past(): For generating dates further back in time (years instead of days). * * @example * faker.date.recent() // '2022-02-04T02:09:35.077Z' @@ -619,7 +619,7 @@ export class SimpleDateModule extends SimpleModuleBase { * @param days The range of days the date may be in the past. Defaults to `1`. * @param refDate The date to use as reference point for the newly generated date. Defaults to `faker.defaultRefDate()`. * - * @see faker.date.past() + * @see faker.date.past(): For generating dates further back in time (years instead of days). * * @example * faker.date.recent() // '2022-02-04T02:09:35.077Z' @@ -639,7 +639,7 @@ export class SimpleDateModule extends SimpleModuleBase { * @param options.refDate The date to use as reference point for the newly generated date. Defaults to `faker.defaultRefDate()`. * @param legacyRefDate Deprecated, use `options.refDate` instead. * - * @see faker.date.past() + * @see faker.date.past(): For generating dates further back in time (years instead of days). * * @example * faker.date.recent() // '2022-02-04T02:09:35.077Z' @@ -707,7 +707,7 @@ export class SimpleDateModule extends SimpleModuleBase { * @param options.days The range of days the date may be in the future. Defaults to `1`. * @param options.refDate The date to use as reference point for the newly generated date. Defaults to `faker.defaultRefDate()`. * - * @see faker.date.future() + * @see faker.date.future(): For generating dates further in the future (years instead of days). * * @example * faker.date.soon() // '2022-02-05T09:55:39.216Z' @@ -736,7 +736,7 @@ export class SimpleDateModule extends SimpleModuleBase { * @param days The range of days the date may be in the future. Defaults to `1`. * @param refDate The date to use as reference point for the newly generated date. Defaults to `faker.defaultRefDate()`. * - * @see faker.date.future() + * @see faker.date.future(): For generating dates further in the future (years instead of days). * * @example * faker.date.soon() // '2022-02-05T09:55:39.216Z' @@ -756,7 +756,7 @@ export class SimpleDateModule extends SimpleModuleBase { * @param options.refDate The date to use as reference point for the newly generated date. Defaults to `faker.defaultRefDate()`. * @param legacyRefDate Deprecated, use `options.refDate` instead. * - * @see faker.date.future() + * @see faker.date.future(): For generating dates further in the future (years instead of days). * * @example * faker.date.soon() // '2022-02-05T09:55:39.216Z' |
