trimestre static method

int trimestre(
  1. DateTime data
)

Implementation

static int trimestre(DateTime data) => ((data.month - 1) / 3 + 1).toInt();