org.sakaiproject.time.api.Time.toStringLocalDate()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(7.0k)|赞(0)|评价(0)|浏览(193)

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

Time.toStringLocalDate介绍

[英]Format as a string, Human Readable, date only format, Local.
[中]格式为字符串,可读,仅日期格式,本地。

代码示例

代码示例来源:origin: org.sakaiproject.signup/signup-impl

@Override
public String getSubject() {
  return MessageFormat.format(rb.getString("subject.promote.appointment.field"), new Object[] { getTime(
      meeting.getStartTime()).toStringLocalDate(), getAbbreviatedMeetingTitle() });
}

代码示例来源:origin: org.sakaiproject.signup/signup-impl

@Override
public String getSubject() {
  return MessageFormat.format(rb.getString("subject.new.appointment.field"), new Object[] {
    organizer.getDisplayName(), getTime(meeting.getStartTime()).toStringLocalDate(), getAbbreviatedMeetingTitle() });
}

代码示例来源:origin: org.sakaiproject.signup/signup-impl

@Override
public String getSubject() {
  return MessageFormat.format(rb.getString("subject.Cancel.appointment.field"), new Object[] {
    getTime(meeting.getStartTime()).toStringLocalDate(), initiator.getDisplayName(), getAbbreviatedMeetingTitle() });
}

代码示例来源:origin: org.sakaiproject.signup/signup-impl

@Override
public String getSubject() {
  return MessageFormat.format(rb.getString("subject.organizerPreAssign.appointment.field"), new Object[] {
    organizer.getDisplayName(), getTime(meeting.getStartTime()).toStringLocalDate(), getAbbreviatedMeetingTitle() });
}

代码示例来源:origin: org.sakaiproject.signup/signup-impl

@Override
  public String getSubject() {
    return MessageFormat.format(rb.getString("subject.newMeeting.field"), new Object[] {
      creator.getDisplayName(), getTime(meeting.getStartTime()).toStringLocalDate(), getAbbreviatedMeetingTitle() });
  }
}

代码示例来源:origin: org.sakaiproject.signup/signup-impl

@Override
public String getSubject() {
  return MessageFormat.format(rb.getString("subject.organizer.change.appointment.field"), new Object[] {
        getTime(item.getRemovedFromTimeslot().get(0).getStartTime()).toStringLocalDate(),
        getTime(item.getRemovedFromTimeslot().get(0).getStartTime()).toStringLocalTime(),
        getAbbreviatedMeetingTitle() });
}

代码示例来源:origin: org.sakaiproject.signup/signup-impl

@Override
public String getSubject() {
  return MessageFormat.format(rb.getString("subject.organizer.change.appointment.field"), new Object[] {
    getTime(item.getRemovedFromTimeslot().get(0).getStartTime()).toStringLocalDate(),
    getTime(item.getRemovedFromTimeslot().get(0).getStartTime()).toStringLocalTime(),
    getAbbreviatedMeetingTitle() });
}

代码示例来源:origin: org.sakaiproject.signup/signup-impl

@Override
public String getSubject() {
  return MessageFormat.format(rb.getString("subject.attendee.signup.field"), new Object[] {
    getTime(meeting.getStartTime()).toStringLocalDate(), currentUser.getDisplayName(), getSiteTitle(), getAbbreviatedMeetingTitle()});
}

代码示例来源:origin: org.sakaiproject.signup/signup-impl

@Override
public String getSubject() {
  return MessageFormat.format(rb.getString("subject.Cancel.appointment.field"), new Object[] {
    getTime(meeting.getStartTime()).toStringLocalDate(), getSakaiFacade().getUserDisplayName(meeting.getCreatorUserId()), getAbbreviatedMeetingTitle() });
}

代码示例来源:origin: org.sakaiproject.signup/signup-impl

@Override
public String getSubject() {
  return MessageFormat.format(rb.getString("subject.comment.modification.field"), new Object[] {
    getShortSiteTitleWithQuote(emailReturnSiteId), modifier.getDisplayName(), getTime(meeting.getStartTime()).toStringLocalDate(),
    getTime(meeting.getStartTime()).toStringLocalTime() });
}

代码示例来源:origin: org.sakaiproject.signup/signup-impl

@Override
  public String getSubject() {
    return MessageFormat.format(rb.getString("subject.meeting.modification.field"), new Object[] {
      organizer.getDisplayName(), getShortSiteTitleWithQuote(emailReturnSiteId), getTime(meeting.getStartTime()).toStringLocalDate(),
      getTime(meeting.getStartTime()).toStringLocalTime(), getAbbreviatedMeetingTitle() });
  }
}

代码示例来源:origin: org.sakaiproject.signup/signup-impl

@Override
public String getSubject() {
  return MessageFormat.format(rb.getString("subject.auto.reminder.appointment.field"), new Object[] {getShortWeekDayName(meeting.getStartTime()), getTime(meeting.getStartTime()).toStringLocalDate(),
        getTime(item.getStartTime()).toStringLocalTime(), getAbbreviatedMeetingTitle() });
}

代码示例来源:origin: org.sakaiproject.signup/signup-impl

Object[] paramsTimeframe = new Object[] { getTime(timeslot.getStartTime()).toStringLocalTime(),
    getTime(timeslot.getEndTime()).toStringLocalTime(),
    getTime(timeslot.getStartTime()).toStringLocalDate(),
    getSakaiFacade().getTimeService().getLocalTimeZone().getID()};
message.append(MessageFormat.format(rb.getString("body.meeting.timeslot.timeframe"), paramsTimeframe) + newline);

代码示例来源:origin: org.sakaiproject.signup/signup-impl

getTime(timeslot.getStartTime()).toStringLocalTime(),
    getTime(timeslot.getEndTime()).toStringLocalTime(),
    getTime(timeslot.getStartTime()).toStringLocalDate(),
    getSakaiFacade().getTimeService().getLocalTimeZone().getID()};
message.append(MessageFormat.format(rb.getString("body.meeting.timeslot.timeframe"), paramsTimeframe));

代码示例来源:origin: org.sakaiproject.signup/signup-impl

getTime(item.getStartTime()).toStringLocalTime(),
    getTime(item.getEndTime()).toStringLocalTime(),
    getTime(item.getStartTime()).toStringLocalDate(),
    getSakaiFacade().getTimeService().getLocalTimeZone().getID()};
message.append(newline

代码示例来源:origin: org.sakaiproject.signup/signup-impl

Object[] paramsTimeframe = new Object[] { getTime(timeslot.getStartTime()).toStringLocalTime(),
    getTime(timeslot.getEndTime()).toStringLocalTime(),
    getTime(timeslot.getStartTime()).toStringLocalDate(),
    getSakaiFacade().getTimeService().getLocalTimeZone().getID()};
message.append(newline

代码示例来源:origin: org.sakaiproject.signup/signup-impl

+ MessageFormat.format(rb.getString("body.meetingTopic.part"), new Object[] { meeting.getTitle() }));
if (!meeting.isMeetingCrossDays()) {
  Object[] paramsTimeframe = new Object[] { getTime(meeting.getStartTime()).toStringLocalDate(),
      getTime(meeting.getStartTime()).toStringLocalTime(),
      getTime(meeting.getEndTime()).toStringLocalTime(),

代码示例来源:origin: org.sakaiproject.signup/signup-impl

getTime(item.getAddToTimeslot().getStartTime()).toStringLocalTime(),
    getTime(item.getAddToTimeslot().getEndTime()).toStringLocalTime(),
    getTime(item.getAddToTimeslot().getStartTime()).toStringLocalDate(),
    getSakaiFacade().getTimeService().getLocalTimeZone().getID()};
message.append(newline

代码示例来源:origin: org.sakaiproject.signup/signup-impl

Object[] paramsTimeframe = new Object[] { getTime(timeslot.getStartTime()).toStringLocalTime(),
    getTime(timeslot.getEndTime()).toStringLocalTime(),
    getTime(timeslot.getStartTime()).toStringLocalDate(),
    getSakaiFacade().getTimeService().getLocalTimeZone().getID()};
message.append(newline

代码示例来源:origin: org.sakaiproject.signup/signup-impl

getTime(item.getRemovedFromTimeslot().get(0).getStartTime()).toStringLocalDate(),
    getSiteTitleWithQuote(this.emailReturnSiteId), getServiceName() };
message.append(newline + newline

相关文章