code: def _days_in_year_before_month(month):
      # Calculates the number of days that there are between given month and 1st of
      # March. Again, 153, 2, 5 are "magic" numbers.
      return (153 * month + 2) // 5
  
file_path: tf-quant-finance/tf_quant_finance/datetime/date_utils.py
imports: import tensorflow.compat.v2
label_desc: Use image node_id 2 for calling a global function with example usage: _days_in_year_before_month(month) and returns: unknown