//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
*
* @since 2.0
*
- * @param[in] value The instance of TimeSpan
+ * @param[in] value An instance of TimeSpan
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_RANGE The value of the argument is outside the valid range defined by the method. @n
* The resulting value of %DateTime is greater than the value returned by GetMaxValue() or @n
void SetValue(const DateTime& value);
/**
- * Sets the current instance of %DateTime to the specified year, month, day, hour, minute, and second.
+ * Sets the current instance of %DateTime to the specified @c year, @c month, @c day, @c hour, @c minute, and @c second.
*
* @since 2.0
*
result SetValue(int year, int month, int day, int hour = 0, int minute = 0, int second = 0);
/**
- * Sets the current instance of %DateTime to the specified year, month, day, hour, minute, second and millisecond.
+ * Sets the current instance of %DateTime to the specified @c year, @c month, @c day, @c hour, @c minute, @c second, and @c millisecond.
*
* @since 2.1
*
* @param[in] millisecond The millisecond to set
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_RANGE The value of the argument is outside the valid range defined by the method. @n
- * Either the arguments are greater than the value returned by GetMaxValue() or
+ * Either the arguments are greater than the value returned by GetMaxValue() or
* are less than the value returned by GetMinValue(), or
- * the arguments contain invalid values.
+ * the arguments contain invalid values.
* For example, day is 31 when month is 2.
*/
result SetValue(int year, int month, int day, int hour, int minute, int second, int millisecond);
/**
- * Sets the current instance of %DateTime with the specified number of ticks.
- * The tick value represents dates and times with long long type ranging from January 1, 1 A.D. 00:00:00.000 am.
+ * Sets the current instance of %DateTime with the specified number of %ticks.
+ * The tick value of type @c long @c long represents dates and times ranging from January 1, 1 A.D. 00:00:00.000 am.
*
* @since 2.1
*
* @return An error code
- * @param[in] ticks The number of ticks (in milliseconds)
+ * @param[in] ticks The number of ticks
* @exception E_SUCCESS The method is successful.
* @exception E_OUT_OF_RANGE The value of the argument is outside the valid range defined by the method.
- * Either the arguments are greater than the value returned by GetMaxValue() or
+ * Either the arguments are greater than the value returned by GetMaxValue() or
* are less than the value returned by GetMinValue(), or
- * the arguments contain invalid values.
+ * the arguments contain invalid values.
* For example, day is 31 when month is 2.
*/
result SetValue(long long ticks);
result AddSeconds(int seconds);
/**
- * Adds the specified number of milliseconds to the instance of %DateTime.
+ * Adds a specified number of milliseconds to the instance of %DateTime.
*
* @since 2.1
*
result AddMilliseconds(long long milliseconds);
/**
- * Adds the specified number of ticks to the instance of %DateTime.
+ * Adds a specified number of ticks to the instance of %DateTime.
*
* @since 2.1
*
* @since 2.0
*
* @return @c true if the specified instance of Object is equivalent to the current instance of %DateTime, @n
- else @c false
+ * else @c false
* @param[in] obj The object to compare with the current instance of %DateTime
* @see Tizen::Base::Object::GetHashCode()
*/
TimeSpan GetTimeOfDay(void) const;
/**
- * Gets the number of days in the specified month of the specified year.
+ * Gets the number of @c days in the specified @c month of the specified @c year.
*
* @since 2.0
*
/**
* Gets the tick of the current instance of %DateTime.
- * The tick value represents dates and times with long long ranging from January 1, 1 A.D. 00:00:00.000 am.
+ * The tick value of type @c long @c long represents dates and times ranging from January 1, 1 A.D. 00:00:00.000 am.
*
* @since 2.1
*
- * @return A long long value indicating the tick of the current instance of %DateTime
+ * @return A @c long @c long value indicating the tick of the current instance of %DateTime
*/
long long GetTicks(void) const;
bool IsLeapYear(void) const;
/**
- * Checks whether the specified year is a leap year.
+ * Checks whether the specified @c year is a leap year.
*
* @since 2.0
*