@@ -524,15 +524,15 @@ object DateTimeUtils {
524524
525525 /**
526526 * Add date and year-month interval.
527- * Returns a date value, expressed in days since 1.1. 1970.
527+ * Returns a date value, expressed in days since 1970-01-01 .
528528 */
529529 def dateAddMonths (days : Int , months : Int ): Int = {
530530 localDateToDays(daysToLocalDate(days).plusMonths(months))
531531 }
532532
533533 /**
534534 * Add timestamp and full interval.
535- * Returns a timestamp value, expressed in microseconds since 1.1. 1970 00:00:00.
535+ * Returns a timestamp value, expressed in microseconds since 1970-01-01 00:00:00.
536536 */
537537 def timestampAddInterval (
538538 start : Long ,
@@ -550,7 +550,7 @@ object DateTimeUtils {
550550
551551 /**
552552 * Add the date and the interval's months and days.
553- * Returns a date value, expressed in days since 1.1. 1970.
553+ * Returns a date value, expressed in days since 1970-01-01 .
554554 *
555555 * @throws DateTimeException if the result exceeds the supported date range
556556 * @throws IllegalArgumentException if the interval has `microseconds` part
@@ -565,7 +565,7 @@ object DateTimeUtils {
565565 }
566566
567567 /**
568- * Split date (expressed in days since 1.1. 1970) into four fields:
568+ * Split date (expressed in days since 1970-01-01 ) into four fields:
569569 * year, month (Jan is Month 1), dayInMonth, daysToMonthEnd (0 if it's last day of month).
570570 */
571571 private def splitDate (days : Int ): (Int , Int , Int , Int ) = {
@@ -575,7 +575,7 @@ object DateTimeUtils {
575575
576576 /**
577577 * Returns number of months between micros1 and micros2. micros1 and micros2 are expressed in
578- * microseconds since 1.1. 1970. If micros1 is later than micros2, the result is positive.
578+ * microseconds since 1970-01-01 . If micros1 is later than micros2, the result is positive.
579579 *
580580 * If micros1 and micros2 are on the same day of month, or both are the last day of month,
581581 * returns, time of day will be ignored.
0 commit comments