private static int ToAgeMonths(DecimalWithUnits age) { return(age == null ? 0 : (int)age.Value); }
private static decimal parseDimensionValue(DecimalWithUnits dimension) { return(dimension == null ? 0 : dimension.Value); }
private static string parseDimensionUnit(DecimalWithUnits dimension) { return(dimension == null ? string.Empty : dimension.Units); }
private static int ToAgeMonths(DecimalWithUnits age) { return age == null ? 0 : (int) age.Value; }