isis/src/base/objs/iTime/iTime.cpp
int iTime::DayOfYear() const {
    NaifStatus::CheckErrors();
    SpiceChar out[4];

    // Populate the private year member
    timout_c(p_et, "DOY", 4, out);
    NaifStatus::CheckErrors();
    return IString(out).ToInteger();
  }
/**
   * Returns the day of year portion of the time as an int
   *
   * @return int
   */
Returns the day of year portion of the time as an int
@return int
Returns the day of year portion of the time as an int @return int
int iTime::DayOfYear() const {
    NaifStatus::CheckErrors();
    SpiceChar out[4];
    timout_c(p_et, "DOY", 4, out);
    NaifStatus::CheckErrors();
    return IString(out).ToInteger();
  }
int iTime :: DayOfYear ( ) const { NaifStatus :: CheckErrors ( ) ; SpiceChar out [ 4 ] ; timout_c ( p_et , " " , 4 , out ) ; NaifStatus :: CheckErrors ( ) ; return IString ( out ) . ToInteger ( ) ; }
Returns the day of year portion of the time as an int
 @return int
Returns the day of year portion of the time as an int @return int
// Populate the private year member