BirthDateAttribute.withDate constructor

BirthDateAttribute.withDate(
  1. DateTime date
)

Implementation

BirthDateAttribute.withDate(DateTime date)
    : _age = null,
      _year = date.year,
      _month = date.month,
      _day = date.day,
      _reset = false;