generation property

int get generation

해당 시간에 태어난 사람의 세대를 계산합니다. ex. 23 -> 20, 56 -> 50

Implementation

int get generation => age ~/ 10 * 10;