code: def valentines_day(gyear):
      r"""Get Valentine's day for a given year.
  
      Parameters
      ----------
      gyear : int
          Gregorian year.
  
      Returns
      -------
      valentines : int
          Valentine's Day in RDate format.
      """
      valentines = gdate_to_rdate(gyear, 2, 14)
      return valentines
  
imports: import calendar
  import logging
  import math
  import pandas
label_desc: Use image node_id 30 for calling a global function with example usage: valentines_day(gyear) and returns: valentines