Examples of GitDateFormatter


Examples of org.eclipse.jgit.util.GitDateFormatter

  @Option(name = "--date", usage = "usage_date")
  void dateFormat(String date) {
    if (date.toLowerCase().equals(date))
      date = date.toUpperCase();
    dateFormatter = new GitDateFormatter(Format.valueOf(date));
  }
View Full Code Here

Examples of org.eclipse.jgit.util.GitDateFormatter

  // END -- Options shared with Diff


  Log() {
    dateFormatter = new GitDateFormatter(Format.DEFAULT);
  }
View Full Code Here

Examples of org.eclipse.jgit.util.GitDateFormatter

  @Override
  @Before
  public void setUp() throws Exception {
    super.setUp();
    dateFormatter = new GitDateFormatter(Format.DEFAULT);
  }
View Full Code Here

Examples of org.eclipse.jgit.util.GitDateFormatter

  @Option(name = "--date", usage = "usage_date")
  void dateFormat(String date) {
    if (date.toLowerCase().equals(date))
      date = date.toUpperCase();
    dateFormatter = new GitDateFormatter(Format.valueOf(date));
  }
View Full Code Here

Examples of org.eclipse.jgit.util.GitDateFormatter

  // END -- Options shared with Diff


  Log() {
    dateFormatter = new GitDateFormatter(Format.DEFAULT);
  }
View Full Code Here

Examples of org.eclipse.jgit.util.GitDateFormatter

  /**
   * Create a new squash message formatter.
   */
  public SquashMessageFormatter() {
    dateFormatter = new GitDateFormatter(Format.DEFAULT);
  }
View Full Code Here

Examples of org.eclipse.jgit.util.GitDateFormatter

  @Override
  @Before
  public void setUp() throws Exception {
    super.setUp();
    dateFormatter = new GitDateFormatter(Format.DEFAULT);
    msgFormatter = new SquashMessageFormatter();
  }
View Full Code Here

Examples of org.eclipse.jgit.util.GitDateFormatter

  /**
   * Create a new squash message formatter.
   */
  public SquashMessageFormatter() {
    dateFormatter = new GitDateFormatter(Format.DEFAULT);
  }
View Full Code Here

Examples of org.eclipse.jgit.util.GitDateFormatter

  private static GitDateFormatter getNewDateFormatter() {
    boolean useRelativeDates = Activator.getDefault().getPreferenceStore()
        .getBoolean(UIPreferences.RESOURCEHISTORY_SHOW_RELATIVE_DATE);
    if (useRelativeDates)
      return new GitDateFormatter(Format.RELATIVE);
    else
      return new GitDateFormatter(Format.LOCALE);
  }
View Full Code Here

Examples of org.eclipse.jgit.util.GitDateFormatter

    return ""; //$NON-NLS-1$
  }

  private GitDateFormatter getDateFormatter() {
    if (dateFormatter == null)
      dateFormatter = new GitDateFormatter(format);
    return dateFormatter;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.