java.sql.Date.normalizeTime()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(5.9k)|赞(0)|评价(0)|浏览(178)

本文整理了Java中java.sql.Date.normalizeTime()方法的一些代码示例,展示了Date.normalizeTime()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Date.normalizeTime()方法的具体详情如下:
包路径:java.sql.Date
类名称:Date
方法名:normalizeTime

Date.normalizeTime介绍

暂无

代码示例

代码示例来源:origin: robovm/robovm

/**
 * Creates a date which corresponds to the day determined by the supplied
 * milliseconds time value {@code theDate}.
 *
 * @param theDate
 *            a time value in milliseconds since the epoch - January 1 1970
 *            00:00:00 GMT. The time value (hours, minutes, seconds,
 *            milliseconds) stored in the {@code Date} object is adjusted to
 *            correspond to 00:00:00 GMT on the day determined by the supplied
 *            time value.
 */
public Date(long theDate) {
  super(normalizeTime(theDate));
}

代码示例来源:origin: robovm/robovm

/**
 * Sets this date to a date supplied as a milliseconds value. The date is
 * set based on the supplied time value and rounded to zero GMT for that day.
 *
 * @param theTime
 *            the time in milliseconds since the Epoch.
 */
@Override
public void setTime(long theTime) {
  /*
   * Store the Date based on the supplied time after removing any time
   * elements finer than the day based on zero GMT
   */
  super.setTime(normalizeTime(theTime));
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * Creates a date which corresponds to the day determined by the supplied
 * milliseconds time value {@code theDate}.
 *
 * @param theDate
 *            a time value in milliseconds since the epoch - January 1 1970
 *            00:00:00 GMT. The time value (hours, minutes, seconds,
 *            milliseconds) stored in the {@code Date} object is adjusted to
 *            correspond to 00:00:00 GMT on the day determined by the supplied
 *            time value.
 */
public Date(long theDate) {
  super(normalizeTime(theDate));
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * Creates a date which corresponds to the day determined by the supplied
 * milliseconds time value {@code theDate}.
 *
 * @param theDate
 *            a time value in milliseconds since the epoch - January 1 1970
 *            00:00:00 GMT. The time value (hours, minutes, seconds,
 *            milliseconds) stored in the {@code Date} object is adjusted to
 *            correspond to 00:00:00 GMT on the day determined by the supplied
 *            time value.
 */
public Date(long theDate) {
  super(normalizeTime(theDate));
}

代码示例来源:origin: MobiVM/robovm

/**
 * Creates a date which corresponds to the day determined by the supplied
 * milliseconds time value {@code theDate}.
 *
 * @param theDate
 *            a time value in milliseconds since the epoch - January 1 1970
 *            00:00:00 GMT. The time value (hours, minutes, seconds,
 *            milliseconds) stored in the {@code Date} object is adjusted to
 *            correspond to 00:00:00 GMT on the day determined by the supplied
 *            time value.
 */
public Date(long theDate) {
  super(normalizeTime(theDate));
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * Creates a date which corresponds to the day determined by the supplied
 * milliseconds time value {@code theDate}.
 *
 * @param theDate
 *            a time value in milliseconds since the epoch - January 1 1970
 *            00:00:00 GMT. The time value (hours, minutes, seconds,
 *            milliseconds) stored in the {@code Date} object is adjusted to
 *            correspond to 00:00:00 GMT on the day determined by the supplied
 *            time value.
 */
public Date(long theDate) {
  super(normalizeTime(theDate));
}

代码示例来源:origin: ibinti/bugvm

/**
 * Creates a date which corresponds to the day determined by the supplied
 * milliseconds time value {@code theDate}.
 *
 * @param theDate
 *            a time value in milliseconds since the epoch - January 1 1970
 *            00:00:00 GMT. The time value (hours, minutes, seconds,
 *            milliseconds) stored in the {@code Date} object is adjusted to
 *            correspond to 00:00:00 GMT on the day determined by the supplied
 *            time value.
 */
public Date(long theDate) {
  super(normalizeTime(theDate));
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * Creates a date which corresponds to the day determined by the supplied
 * milliseconds time value {@code theDate}.
 *
 * @param theDate
 *            a time value in milliseconds since the epoch - January 1 1970
 *            00:00:00 GMT. The time value (hours, minutes, seconds,
 *            milliseconds) stored in the {@code Date} object is adjusted to
 *            correspond to 00:00:00 GMT on the day determined by the supplied
 *            time value.
 */
public Date(long theDate) {
  super(normalizeTime(theDate));
}

代码示例来源:origin: ibinti/bugvm

/**
 * Sets this date to a date supplied as a milliseconds value. The date is
 * set based on the supplied time value and rounded to zero GMT for that day.
 *
 * @param theTime
 *            the time in milliseconds since the Epoch.
 */
@Override
public void setTime(long theTime) {
  /*
   * Store the Date based on the supplied time after removing any time
   * elements finer than the day based on zero GMT
   */
  super.setTime(normalizeTime(theTime));
}

代码示例来源:origin: MobiVM/robovm

/**
 * Sets this date to a date supplied as a milliseconds value. The date is
 * set based on the supplied time value and rounded to zero GMT for that day.
 *
 * @param theTime
 *            the time in milliseconds since the Epoch.
 */
@Override
public void setTime(long theTime) {
  /*
   * Store the Date based on the supplied time after removing any time
   * elements finer than the day based on zero GMT
   */
  super.setTime(normalizeTime(theTime));
}

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * Sets this date to a date supplied as a milliseconds value. The date is
 * set based on the supplied time value and rounded to zero GMT for that day.
 *
 * @param theTime
 *            the time in milliseconds since the Epoch.
 */
@Override
public void setTime(long theTime) {
  /*
   * Store the Date based on the supplied time after removing any time
   * elements finer than the day based on zero GMT
   */
  super.setTime(normalizeTime(theTime));
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * Sets this date to a date supplied as a milliseconds value. The date is
 * set based on the supplied time value and rounded to zero GMT for that day.
 *
 * @param theTime
 *            the time in milliseconds since the Epoch.
 */
@Override
public void setTime(long theTime) {
  /*
   * Store the Date based on the supplied time after removing any time
   * elements finer than the day based on zero GMT
   */
  super.setTime(normalizeTime(theTime));
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * Sets this date to a date supplied as a milliseconds value. The date is
 * set based on the supplied time value and rounded to zero GMT for that day.
 *
 * @param theTime
 *            the time in milliseconds since the Epoch.
 */
@Override
public void setTime(long theTime) {
  /*
   * Store the Date based on the supplied time after removing any time
   * elements finer than the day based on zero GMT
   */
  super.setTime(normalizeTime(theTime));
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * Sets this date to a date supplied as a milliseconds value. The date is
 * set based on the supplied time value and rounded to zero GMT for that day.
 *
 * @param theTime
 *            the time in milliseconds since the Epoch.
 */
@Override
public void setTime(long theTime) {
  /*
   * Store the Date based on the supplied time after removing any time
   * elements finer than the day based on zero GMT
   */
  super.setTime(normalizeTime(theTime));
}

相关文章