Logo GenPRES

SetGet Module

Gets and sets the year, the month and the day of a birth date, with a unit of measure or as plain integers.

Functions and values

Function or value Description

getDay bd

Full Usage: getDay bd

Parameters:
Returns: int<MeasureProduct<day, MeasureOne>>

getIntDay bd

Full Usage: getIntDay bd

Parameters:
Returns: int
bd : BirthDate
Returns: int

getIntMonth bd

Full Usage: getIntMonth bd

Parameters:
Returns: int
bd : BirthDate
Returns: int

getIntYear bd

Full Usage: getIntYear bd

Parameters:
Returns: int
bd : BirthDate
Returns: int

getMonth bd

Full Usage: getMonth bd

Parameters:
Returns: int<MeasureProduct<month, MeasureOne>>

getYear bd

Full Usage: getYear bd

Parameters:
Returns: int<MeasureProduct<year, MeasureOne>>

setDay d bd

Full Usage: setDay d bd

Parameters:
Returns: BirthDate

setIntDay i bd

Full Usage: setIntDay i bd

Parameters:
Returns: BirthDate
i : int
bd : BirthDate
Returns: BirthDate

setIntMonth i bd

Full Usage: setIntMonth i bd

Parameters:
Returns: BirthDate
i : int
bd : BirthDate
Returns: BirthDate

setIntYear i bd

Full Usage: setIntYear i bd

Parameters:
Returns: BirthDate
i : int
bd : BirthDate
Returns: BirthDate

setMonth m bd

Full Usage: setMonth m bd

Parameters:
Returns: BirthDate

setYear y bd

Full Usage: setYear y bd

Parameters:
Returns: BirthDate

Type something to start searching.