public static class

LocalGregorianCalendar.Date

extends BaseCalendar.Date
java.lang.Object
   ↳ sun.util.calendar.CalendarDate
     ↳ sun.util.calendar.BaseCalendar.Date
       ↳ sun.util.calendar.LocalGregorianCalendar.Date

Summary

[Expand]
Inherited Constants
From class sun.util.calendar.CalendarDate
Protected Constructors
LocalGregorianCalendar.Date()
LocalGregorianCalendar.Date(TimeZone zone)
Public Methods
LocalGregorianCalendar.Date addYear(int localYear)
int getNormalizedYear()
LocalGregorianCalendar.Date setEra(Era era)
Sets the era of the date to the specified era.
void setNormalizedYear(int normalizedYear)
LocalGregorianCalendar.Date setYear(int localYear)
String toString()
Converts calendar date values to a String in the following format.
[Expand]
Inherited Methods
From class sun.util.calendar.BaseCalendar.Date
From class sun.util.calendar.CalendarDate
From class java.lang.Object

Protected Constructors

protected LocalGregorianCalendar.Date ()

protected LocalGregorianCalendar.Date (TimeZone zone)

Public Methods

public LocalGregorianCalendar.Date addYear (int localYear)

public int getNormalizedYear ()

public LocalGregorianCalendar.Date setEra (Era era)

Sets the era of the date to the specified era. The default implementation of this method accepts any Era value, including null.

public void setNormalizedYear (int normalizedYear)

public LocalGregorianCalendar.Date setYear (int localYear)

public String toString ()

Converts calendar date values to a String in the following format.

     yyyy-MM-dd'T'HH:mm:ss.SSSz
 

Returns
  • a string representation of the object.