Java Doc for AssembledChronology.java in  » Development » Joda-Time » org » joda » time » chrono » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Development » Joda Time » org.joda.time.chrono 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.joda.time.Chronology
      org.joda.time.chrono.BaseChronology
         org.joda.time.chrono.AssembledChronology

All known Subclasses:   org.joda.time.chrono.LimitChronology,  org.joda.time.chrono.ZonedChronology,  org.joda.time.chrono.BasicChronology,  org.joda.time.chrono.LenientChronology,  org.joda.time.chrono.ISOChronology,  org.joda.time.chrono.StrictChronology,  org.joda.time.chrono.GJChronology,  org.joda.time.chrono.BuddhistChronology,
AssembledChronology
abstract public class AssembledChronology extends BaseChronology (Code)
Abstract Chronology that enables chronologies to be assembled from a container of fields.

AssembledChronology is thread-safe and immutable.
author:
   Brian S O'Neill
since:
   1.0


Inner Class :final public static class Fields


Constructor Summary
protected  AssembledChronology(Chronology base, Object param)
     Constructor calls the assemble method, enabling subclasses to define its supported fields.

Method Summary
abstract protected  voidassemble(Fields fields)
     Invoked by the constructor and after deserialization to allow subclasses to define all of its supported fields.
final public  DurationFieldcenturies()
    
final public  DateTimeFieldcenturyOfEra()
    
final public  DateTimeFieldclockhourOfDay()
    
final public  DateTimeFieldclockhourOfHalfday()
    
final public  DateTimeFielddayOfMonth()
    
final public  DateTimeFielddayOfWeek()
    
final public  DateTimeFielddayOfYear()
    
final public  DurationFielddays()
    
final public  DateTimeFieldera()
    
final public  DurationFielderas()
    
final protected  ChronologygetBase()
     Returns the same base chronology as passed into the constructor.
public  longgetDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int millisOfDay)
    
public  longgetDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond)
    
public  longgetDateTimeMillis(long instant, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond)
    
final protected  ObjectgetParam()
     Returns the same param object as passed into the constructor.
public  DateTimeZonegetZone()
    
final public  DateTimeFieldhalfdayOfDay()
    
final public  DurationFieldhalfdays()
    
final public  DateTimeFieldhourOfDay()
    
final public  DateTimeFieldhourOfHalfday()
    
final public  DurationFieldhours()
    
final public  DurationFieldmillis()
    
final public  DateTimeFieldmillisOfDay()
    
final public  DateTimeFieldmillisOfSecond()
    
final public  DateTimeFieldminuteOfDay()
    
final public  DateTimeFieldminuteOfHour()
    
final public  DurationFieldminutes()
    
final public  DateTimeFieldmonthOfYear()
    
final public  DurationFieldmonths()
    
final public  DateTimeFieldsecondOfDay()
    
final public  DateTimeFieldsecondOfMinute()
    
final public  DurationFieldseconds()
    
final public  DateTimeFieldweekOfWeekyear()
    
final public  DurationFieldweeks()
    
final public  DateTimeFieldweekyear()
    
final public  DateTimeFieldweekyearOfCentury()
    
final public  DurationFieldweekyears()
    
final public  DateTimeFieldyear()
    
final public  DateTimeFieldyearOfCentury()
    
final public  DateTimeFieldyearOfEra()
    
final public  DurationFieldyears()
    


Constructor Detail
AssembledChronology
protected AssembledChronology(Chronology base, Object param)(Code)
Constructor calls the assemble method, enabling subclasses to define its supported fields. If a base chronology is supplied, the field set initially contains references to each base chronology field.

Other methods in this class will delegate to the base chronology, if it can be determined that the base chronology will produce the same results as AbstractChronology.
Parameters:
  base - optional base chronology to copy initial fields from
Parameters:
  param - optional param object avalable for assemble method





Method Detail
assemble
abstract protected void assemble(Fields fields)(Code)
Invoked by the constructor and after deserialization to allow subclasses to define all of its supported fields. All unset fields default to unsupported instances.
Parameters:
  fields - container of fields



centuries
final public DurationField centuries()(Code)



centuryOfEra
final public DateTimeField centuryOfEra()(Code)



clockhourOfDay
final public DateTimeField clockhourOfDay()(Code)



clockhourOfHalfday
final public DateTimeField clockhourOfHalfday()(Code)



dayOfMonth
final public DateTimeField dayOfMonth()(Code)



dayOfWeek
final public DateTimeField dayOfWeek()(Code)



dayOfYear
final public DateTimeField dayOfYear()(Code)



days
final public DurationField days()(Code)



era
final public DateTimeField era()(Code)



eras
final public DurationField eras()(Code)



getBase
final protected Chronology getBase()(Code)
Returns the same base chronology as passed into the constructor.



getDateTimeMillis
public long getDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int millisOfDay) throws IllegalArgumentException(Code)



getDateTimeMillis
public long getDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond) throws IllegalArgumentException(Code)



getDateTimeMillis
public long getDateTimeMillis(long instant, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond) throws IllegalArgumentException(Code)



getParam
final protected Object getParam()(Code)
Returns the same param object as passed into the constructor.



getZone
public DateTimeZone getZone()(Code)



halfdayOfDay
final public DateTimeField halfdayOfDay()(Code)



halfdays
final public DurationField halfdays()(Code)



hourOfDay
final public DateTimeField hourOfDay()(Code)



hourOfHalfday
final public DateTimeField hourOfHalfday()(Code)



hours
final public DurationField hours()(Code)



millis
final public DurationField millis()(Code)



millisOfDay
final public DateTimeField millisOfDay()(Code)



millisOfSecond
final public DateTimeField millisOfSecond()(Code)



minuteOfDay
final public DateTimeField minuteOfDay()(Code)



minuteOfHour
final public DateTimeField minuteOfHour()(Code)



minutes
final public DurationField minutes()(Code)



monthOfYear
final public DateTimeField monthOfYear()(Code)



months
final public DurationField months()(Code)



secondOfDay
final public DateTimeField secondOfDay()(Code)



secondOfMinute
final public DateTimeField secondOfMinute()(Code)



seconds
final public DurationField seconds()(Code)



weekOfWeekyear
final public DateTimeField weekOfWeekyear()(Code)



weeks
final public DurationField weeks()(Code)



weekyear
final public DateTimeField weekyear()(Code)



weekyearOfCentury
final public DateTimeField weekyearOfCentury()(Code)



weekyears
final public DurationField weekyears()(Code)



year
final public DateTimeField year()(Code)



yearOfCentury
final public DateTimeField yearOfCentury()(Code)



yearOfEra
final public DateTimeField yearOfEra()(Code)



years
final public DurationField years()(Code)



Methods inherited from org.joda.time.chrono.BaseChronology
public long add(ReadablePeriod period, long instant, int scalar)(Code)(Java Doc)
public long add(long instant, long duration, int scalar)(Code)(Java Doc)
public DurationField centuries()(Code)(Java Doc)
public DateTimeField centuryOfEra()(Code)(Java Doc)
public DateTimeField clockhourOfDay()(Code)(Java Doc)
public DateTimeField clockhourOfHalfday()(Code)(Java Doc)
public DateTimeField dayOfMonth()(Code)(Java Doc)
public DateTimeField dayOfWeek()(Code)(Java Doc)
public DateTimeField dayOfYear()(Code)(Java Doc)
public DurationField days()(Code)(Java Doc)
public DateTimeField era()(Code)(Java Doc)
public DurationField eras()(Code)(Java Doc)
public int[] get(ReadablePartial partial, long instant)(Code)(Java Doc)
public int[] get(ReadablePeriod period, long startInstant, long endInstant)(Code)(Java Doc)
public int[] get(ReadablePeriod period, long duration)(Code)(Java Doc)
public long getDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int millisOfDay) throws IllegalArgumentException(Code)(Java Doc)
public long getDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond) throws IllegalArgumentException(Code)(Java Doc)
public long getDateTimeMillis(long instant, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond) throws IllegalArgumentException(Code)(Java Doc)
abstract public DateTimeZone getZone()(Code)(Java Doc)
public DateTimeField halfdayOfDay()(Code)(Java Doc)
public DurationField halfdays()(Code)(Java Doc)
public DateTimeField hourOfDay()(Code)(Java Doc)
public DateTimeField hourOfHalfday()(Code)(Java Doc)
public DurationField hours()(Code)(Java Doc)
public DurationField millis()(Code)(Java Doc)
public DateTimeField millisOfDay()(Code)(Java Doc)
public DateTimeField millisOfSecond()(Code)(Java Doc)
public DateTimeField minuteOfDay()(Code)(Java Doc)
public DateTimeField minuteOfHour()(Code)(Java Doc)
public DurationField minutes()(Code)(Java Doc)
public DateTimeField monthOfYear()(Code)(Java Doc)
public DurationField months()(Code)(Java Doc)
public DateTimeField secondOfDay()(Code)(Java Doc)
public DateTimeField secondOfMinute()(Code)(Java Doc)
public DurationField seconds()(Code)(Java Doc)
public long set(ReadablePartial partial, long instant)(Code)(Java Doc)
abstract public String toString()(Code)(Java Doc)
public void validate(ReadablePartial partial, int[] values)(Code)(Java Doc)
public DateTimeField weekOfWeekyear()(Code)(Java Doc)
public DurationField weeks()(Code)(Java Doc)
public DateTimeField weekyear()(Code)(Java Doc)
public DateTimeField weekyearOfCentury()(Code)(Java Doc)
public DurationField weekyears()(Code)(Java Doc)
abstract public Chronology withUTC()(Code)(Java Doc)
abstract public Chronology withZone(DateTimeZone zone)(Code)(Java Doc)
public DateTimeField year()(Code)(Java Doc)
public DateTimeField yearOfCentury()(Code)(Java Doc)
public DateTimeField yearOfEra()(Code)(Java Doc)
public DurationField years()(Code)(Java Doc)

Methods inherited from org.joda.time.Chronology
abstract public long add(ReadablePeriod period, long instant, int scalar)(Code)(Java Doc)
abstract public long add(long instant, long duration, int scalar)(Code)(Java Doc)
abstract public DurationField centuries()(Code)(Java Doc)
abstract public DateTimeField centuryOfEra()(Code)(Java Doc)
abstract public DateTimeField clockhourOfDay()(Code)(Java Doc)
abstract public DateTimeField clockhourOfHalfday()(Code)(Java Doc)
abstract public DateTimeField dayOfMonth()(Code)(Java Doc)
abstract public DateTimeField dayOfWeek()(Code)(Java Doc)
abstract public DateTimeField dayOfYear()(Code)(Java Doc)
abstract public DurationField days()(Code)(Java Doc)
abstract public DateTimeField era()(Code)(Java Doc)
abstract public DurationField eras()(Code)(Java Doc)
abstract public int[] get(ReadablePartial partial, long instant)(Code)(Java Doc)
abstract public int[] get(ReadablePeriod period, long startInstant, long endInstant)(Code)(Java Doc)
abstract public int[] get(ReadablePeriod period, long duration)(Code)(Java Doc)
public static Chronology getBuddhist()(Code)(Java Doc)
public static Chronology getBuddhist(DateTimeZone zone)(Code)(Java Doc)
public static Chronology getBuddhistUTC()(Code)(Java Doc)
public static Chronology getCoptic()(Code)(Java Doc)
public static Chronology getCoptic(DateTimeZone zone)(Code)(Java Doc)
public static Chronology getCopticUTC()(Code)(Java Doc)
abstract public long getDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int millisOfDay)(Code)(Java Doc)
abstract public long getDateTimeMillis(int year, int monthOfYear, int dayOfMonth, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond)(Code)(Java Doc)
abstract public long getDateTimeMillis(long instant, int hourOfDay, int minuteOfHour, int secondOfMinute, int millisOfSecond)(Code)(Java Doc)
public static Chronology getGJ()(Code)(Java Doc)
public static Chronology getGJ(DateTimeZone zone)(Code)(Java Doc)
public static Chronology getGJUTC()(Code)(Java Doc)
public static Chronology getGregorian()(Code)(Java Doc)
public static Chronology getGregorian(DateTimeZone zone)(Code)(Java Doc)
public static Chronology getGregorianUTC()(Code)(Java Doc)
public static Chronology getISO()(Code)(Java Doc)
public static Chronology getISO(DateTimeZone zone)(Code)(Java Doc)
public static Chronology getISOUTC()(Code)(Java Doc)
public static Chronology getJulian()(Code)(Java Doc)
public static Chronology getJulian(DateTimeZone zone)(Code)(Java Doc)
public static Chronology getJulianUTC()(Code)(Java Doc)
abstract public DateTimeZone getZone()(Code)(Java Doc)
abstract public DateTimeField halfdayOfDay()(Code)(Java Doc)
abstract public DurationField halfdays()(Code)(Java Doc)
abstract public DateTimeField hourOfDay()(Code)(Java Doc)
abstract public DateTimeField hourOfHalfday()(Code)(Java Doc)
abstract public DurationField hours()(Code)(Java Doc)
abstract public DurationField millis()(Code)(Java Doc)
abstract public DateTimeField millisOfDay()(Code)(Java Doc)
abstract public DateTimeField millisOfSecond()(Code)(Java Doc)
abstract public DateTimeField minuteOfDay()(Code)(Java Doc)
abstract public DateTimeField minuteOfHour()(Code)(Java Doc)
abstract public DurationField minutes()(Code)(Java Doc)
abstract public DateTimeField monthOfYear()(Code)(Java Doc)
abstract public DurationField months()(Code)(Java Doc)
abstract public DateTimeField secondOfDay()(Code)(Java Doc)
abstract public DateTimeField secondOfMinute()(Code)(Java Doc)
abstract public DurationField seconds()(Code)(Java Doc)
abstract public long set(ReadablePartial partial, long instant)(Code)(Java Doc)
abstract public String toString()(Code)(Java Doc)
abstract public void validate(ReadablePartial partial, int[] values)(Code)(Java Doc)
abstract public DateTimeField weekOfWeekyear()(Code)(Java Doc)
abstract public DurationField weeks()(Code)(Java Doc)
abstract public DateTimeField weekyear()(Code)(Java Doc)
abstract public DateTimeField weekyearOfCentury()(Code)(Java Doc)
abstract public DurationField weekyears()(Code)(Java Doc)
abstract public Chronology withUTC()(Code)(Java Doc)
abstract public Chronology withZone(DateTimeZone zone)(Code)(Java Doc)
abstract public DateTimeField year()(Code)(Java Doc)
abstract public DateTimeField yearOfCentury()(Code)(Java Doc)
abstract public DateTimeField yearOfEra()(Code)(Java Doc)
abstract public DurationField years()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.